Added the scanning of SPI flash chips and the configuration of
partitions on the SPI flash chips.