toolchain: add simple SPI flash access library
Merge branch 'mainline' + adapt to the new API

Conflicts:
	toolchain/lib/mchck/Makefile.part
	toolchain/lib/mchck/mchck.h
	toolchain/lib/mchck/spiflash.c
	toolchain/lib/mchck/spiflash.h