From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Mon, 18 May 2009 12:38:35 -0500 Subject: [U-Boot] [PATCH 2/2] KB9202: Add NAND support In-Reply-To: <20090516141132.GG7923@traven> References: <20090515221544.GF7923@traven> <4A0DED18.9000806@freescale.com> <20090516141132.GG7923@traven> Message-ID: <4A119D1B.8010407@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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