[U-Boot] Adding NAND Boot to uboot
Scott Wood
scottwood at freescale.com
Wed Dec 10 19:04:24 CET 2008
On Wed, Dec 10, 2008 at 11:37:10AM -0500, Fahd Abidi wrote:
> I am relatively new to uboot development and was wondering if someone
> can give me some pointers. I am trying to configure uboot to bootup from
> NAND on CS0 on an MPC8536 platform.
This isn't yet supported, at least in mainline (the BSP u-boot may have
support; I'm not sure).
> I am trying to disable the FLASH CFI driver (No NOR flash on the board
> ) and add support for the FSM NAND flash controller on the 8536. Thus
> far I have written the NAND flash driver
There's already a NAND driver, in drivers/mtd/nand/fsl_elbc_nand.c and
nand_spl/nand_boot_fsl_elbc.c. See the MPC8536DS config for how to
enable it.
> but I am having some issues
> disabling the NOR driver. From by board.h file I tried just commenting
> out the lines:
>
> CFG_FLASH_CFI_DRIVER
> CFG_FLASH_CFI
>
> and added the line:
>
> CFG_NO_FLASH
>
> but I get compile errors.
What errors?
-Scott
More information about the U-Boot
mailing list