I have a spi nor MT25QU512ABB1EW9 connected to the SPI2 Chip Select 2. What code would I use as a template in both u-boot as well as the linux kernel to support this. This particular chip is not supported in either.
There is Quad SPI support in both for the ls1021a-twr but the spi-nor in my design in not used for bootup. There is a separate NOR flash that is used for bootup.
Please let me know if you would like more details.