From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Samuelsson Date: Tue, 27 Mar 2007 20:02:51 +0200 Subject: [U-Boot-Users] Running w/o flash In-Reply-To: <20070327174359.5107C35363E@atlas.denx.de> References: <20070327174359.5107C35363E@atlas.denx.de> Message-ID: <46095C4B.2090505@atmel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk skrev: > In message <460950A1.1060306@atmel.com> you wrote: >> You believe that the code ifdef'ed away is neccessary >> if you do not have any parallel flash? > > No. The whole file is not compiled as it starts > > #if (CONFIG_COMMANDS & CFG_CMD_FLASH) > > If you have no flash, you need no flash commands, so you don't define > CFG_CMD_FLASH and everything is fine. > I have flash, just not parallel flash. and I need the flash commands but not the stuff related to parallel flash. >> They are not unneccessary, they are the first patches >> of a set, which you are well aware that I would like to have >> merged with the mainline. > > I'm not sure what you mean. But if there is no flash, we don't need > no flash commands either, no matter if these are empty or not. Agreed? Exactly, but there is flash, but not any *parallel* flash so the flash commands are needed, but not the stuff related to parallel flash. > > Best regards, > > Wolfgang Denk > -- Best Regards, Ulf Samuelsson ulf at atmel.com Atmel Nordic AB Mail: Box 2033, 174 02 Sundbyberg, Sweden Visit: Kavalleriv?gen 24, 174 58 Sundbyberg, Sweden Phone +46 (8) 441 54 22 Fax +46 (8) 441 54 29 GSM +46 (706) 22 44 57 Technical support when I am not available: AT90 AVR Applications Group: mailto:avr at atmel.com AT91 ARM Applications Group: mailto:at91support at atmel.com links: www.avrfreaks.net; www.at91.com; avr32linux.org -------------- next part -------------- A non-text attachment was scrubbed... Name: ulf.vcf Type: text/x-vcard Size: 301 bytes Desc: not available Url : http://lists.denx.de/pipermail/u-boot/attachments/20070327/b1325fbf/attachment.vcf