From: Martin Egholm Nielsen Date: Fri, 11 Feb 2005 12:59:25 +0100 Subject: [U-Boot-Users] Re: Environment in flash rather than EEProm In-Reply-To: <20050129212935.80EEAC108D@atlas.denx.de> References: <20050129212935.80EEAC108D@atlas.denx.de> Message-ID: <420C9E1D.1010208@egholm-nielsen.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, >>> This statement is bogus. In the default configuration of the >>> PPChameleonEVB board, the envrionment _is_ already in flash, and >>> no changes are needed at all. >>>> #define CFG_ENV_IS_IN_FLASH 1 Don't know it you care at all :-), but in my default PPChameleon config this definition is hidden by the surrounding #define ENVIRONMENT_IN_EEPROM #ifdef ENVIRONMENT_IN_EEPROM #define CFG_ENV_IS_IN_EEPROM 1 >>I wonder what would happen if the EEPROM is taken off (cheaper >>production cost) - would U-Boot reject to start?! > No, but it would complain about errors when trying to access the > device. > If you remove the EEPROM, you should also remove the EEPROm relevant > config options from the config file. Good idea. I removed "CFG_CMD_EEPROM" from the "CONFIG_COMMANDS" - that should do it... Thanks again! // Martin