From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: Environment in flash rather than EEProm
Date: Fri, 11 Feb 2005 13:20:41 +0100 [thread overview]
Message-ID: <20050211122046.CCB2AC108D@atlas.denx.de> (raw)
In-Reply-To: Your message of "Fri, 11 Feb 2005 12:59:25 +0100." <420C9E1D.1010208@egholm-nielsen.dk>
In message <420C9E1D.1010208@egholm-nielsen.dk> you wrote:
>
> >>> 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
I do care.
> 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.)
This is what I wrote before: in the default configuration of the
PPChameleonEVB board, the environmment is in (redundand) flash
sectors.
> > 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...
Indeed.
> Thanks again!
You are welcome.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Actual war is a very messy business. Very, very messy business.
-- Kirk, "A Taste of Armageddon", stardate 3193.0
next prev parent reply other threads:[~2005-02-11 12:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-30 13:29 [U-Boot-Users] Environment in flash rather than EEProm Andy Hawkins
2005-01-27 10:21 ` [U-Boot-Users] " Martin Egholm Nielsen
2005-01-28 21:00 ` Wolfgang Denk
2005-01-29 19:47 ` Martin Egholm Nielsen
2005-01-29 21:29 ` Wolfgang Denk
2005-02-11 11:59 ` Martin Egholm Nielsen
2005-02-11 12:20 ` Wolfgang Denk [this message]
2005-02-11 12:46 ` Martin Egholm Nielsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050211122046.CCB2AC108D@atlas.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox