From: Wolfgang Denk Date: Fri, 20 Feb 2009 00:08:55 +0100 Subject: [U-Boot] Copying default environment to NVRAM In-Reply-To: <499DE296.500@trs80.net> References: <499DBC21.7050505@trs80.net> <20090219223556.09E4A832E43F@gemini.denx.de> <499DE0DF.8080104@trs80.net> <20090219225011.43EA9832E43F@gemini.denx.de> <499DE296.500@trs80.net> Message-ID: <20090219230855.C105D832E43F@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear rory, In message <499DE296.500@trs80.net> you wrote: > I can add this operation to my boot command or to my preboot. However, > if there is a supported, suggested way to do this, via a #define or > compile flag, I would like to know because I would rather do it that way > than put in a "hack". Adding this (probably even as a self-deleting) commnd to preboot is in no way a hack. It's a perfectly legal use of a well-documented standard interface. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de There's an old proverb that says just about whatever you want it to.