[U-Boot] [PATCH 2/2] KB9202: Add NAND support

Scott Wood scottwood at freescale.com
Mon May 18 19:38:35 CEST 2009


Matthias Kaehlcke wrote:
>>> +#ifdef CONFIG_KB9202B_ATL
>>> +#define CFG_MAX_FLASH_BANKS    0
>>> +#else
>> Is this really the recommended way of turning off flash support?
> 
> thanks for your review and your comments.
> 
> i'm new to u-boot development, could you point me to the correct way
> of turning of flash support? i found this in the original patch
> provided by kwikbyte and just ported it to the current u-boot version.

To disable NOR flash support, do not define CONFIG_FLASH_CFI_* or 
CONFIG_CMD_FLASH, and do define CONFIG_SYS_NO_FLASH.

-Scott


More information about the U-Boot mailing list