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
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to