[U-Boot-Users] Re: Environment in flash rather than EEProm

Martin Egholm Nielsen martin at egholm-nielsen.dk
Fri Feb 11 13:46:27 CET 2005


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




More information about the U-Boot mailing list