[U-Boot-Users] board/board/flash.c

Hello All,
If we only have Nand flash on our board, does board/ourboard/flash.c really have to be implemented?
Shouldn't it be sufficient to just use cmd_nand.c and env_nand.c?
For our configuration, U-Boot will actually come up and running from SDRAM itself as we will be using a Primary Bootloader to load U-Boot from Nand Flash. So the only functionality that we should really need is reading and writing to nand flash for writing downloaded images and booting kernels.
Regards,

In message 963b33870410071352372f6bbc@mail.gmail.com you wrote:
If we only have Nand flash on our board, does board/ourboard/flash.c really have to be implemented?
What for then?
For our configuration, U-Boot will actually come up and running from SDRAM itself as we will be using a Primary Bootloader to load U-Boot from Nand Flash. So the only functionality that we should really need is reading and writing to nand flash for writing downloaded images and booting kernels.
You answered your own question.
Best regards,
Wolfgang Denk
participants (2)
-
Bradley Remedios
-
Wolfgang Denk