From: Martin Egholm Nielsen Date: Fri, 11 Feb 2005 13:46:27 +0100 Subject: [U-Boot-Users] Re: Environment in flash rather than EEProm In-Reply-To: <20050211122046.CCB2AC108D@atlas.denx.de> References: <420C9E1D.1010208@egholm-nielsen.dk> <20050211122046.CCB2AC108D@atlas.denx.de> Message-ID: <420CA923.8070905@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 Wolfgang, >>>>>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 >>this definition is hidden by the surrounding >>#define ENVIRONMENT_IN_EEPROM >>#ifdef ENVIRONMENT_IN_EEPROM >>#define CFG_ENV_IS_IN_EEPROM 1 > Yes, and ENVIRONMENT_IN_EEPROM is NOT defined, and the #else branch > uses #define CFG_ENV_IS_IN_FLASH 1 (i. e. the default is in the #else > branch.) Hum, mine was... Maybe some of the patches from my board manufactorer added this... > This is what I wrote before: in the default configuration of the > PPChameleonEVB board, the environmment is in (redundand) flash > sectors. I read it :-) // Martin