SPI Flash controller