[U-Boot] Support for both NAND and NOR flashes in one u-boot image

Deven Balani deven.balani at nxp.com
Mon Feb 2 10:43:46 CET 2009


Hello all,

I have a reference board design which allows user to select one of the NOR or NAND flash as onboard boot devices via a jumper setting. I have a register setting in the hardware which can be used to identify the boot device type (NAND or NOR) during execution of bootloader.

I'm interested in using u-boot to automatically check the boot device type (NAND or NOR) during startup, load/store environment from the detected (NAND or NOR) flash device and enable supported u-boot commands for that flash device.

I need some advice on, how this mechanism is supported in u-boot?

In other words, Is it possible to support both NAND and NOR flash as boot devices in one binary image of u-boot?

Thanks,
Deven


More information about the U-Boot mailing list