I'm working on booting from 2K SPI NAND on the LX2160a SoC.
With some bug fixes to the create_pbl tool, I have managed to boot to BL2. Unfortunately ATF BL2 re-programs the FlexSPI LUTs for NOR flash operation and there is no corresponding NAND flash driver code within ATF.
https://github.com/nxp-qoriq/atf/tree/lf_v2.8/drivers/nxp/flexspi/nor
Are reference / SDK software or bare metal drivers for using FlexSPI with NAND flash available somewhere or do NXP intend to add NAND support to ATF?
The FlexSPI Driver Design document (https://community.nxp.com/t5/Layerscape-Knowledge-Base/FlexSPI-Driver-Design/ta-p/1354159) mentions some driver files - flexspi_nand.c etc. Where can I get these from?
Many thanks