El Mon, May 18, 2009 at 12:38:35PM -0500 Scott Wood ha dit: > 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.
thanks for the pointer! actually i made an attempt with CONFIG_SYS_NO_FLASH, but this seems disable flash support at all (NOR and NAND), the linker complained about unresolved symbols in the JFFS code. at the moment my development system is down due to some hardware fault. as soon as i recover it i'll prepare a patch that addresses the concerns you have raised -- Matthias Kaehlcke Embedded Linux Engineer Barcelona Yo soy como soy y tú eres como eres, construyamos un mundo donde yo pueda ser sin dejar de ser yo, donde tú puedas ser sin dejar de ser tú, y donde ni yo ni tú obliguemos al otro a ser como yo o como tú .''`. using free software / Debian GNU/Linux | http://debian.org : :' : `. `'` gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `- _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot