This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

nand boot support in the linux kernel

Other Parts Discussed in Thread: AM1808

HI all,

I am designing a am1808 platform that can boot by nand flash.

But, I found the kernel only supports spi flash boot now.

Please see the source files (board-da850-evm.c and devices-da8xx.c) of kernel in the directory arch/arm/mach-davinci.

Kernel initializes the spi flash in the line#1189~1190 of board-da850-evm.c:

da850_init_spi1(BIT(0), da850_spi_board_info,
   ARRAY_SIZE(da850_spi_board_info));

If 'd like to implement nand flash boot instead, could you provide example code to do this?

Thanks you very much for support.