LX2160A FlexSPI NAND Boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LX2160A FlexSPI NAND Boot

837 Views
womble
Contributor II

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

Labels (1)
Tags (3)
0 Kudos
Reply
1 Reply

778 Views
yipingwang
NXP TechSupport
NXP TechSupport

You could refer to u-boot source code drivers/spi/fsl_fspi_nand.c.

0 Kudos
Reply