From: Wolfgang Denk Date: Fri, 21 May 2004 00:07:19 +0200 Subject: [U-Boot-Users] [PATCH] support nand based environment In-Reply-To: Your message of "Thu, 20 May 2004 16:05:00 CDT." Message-ID: <20040520220724.41022C109F@atlas.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 In message you wrote: > > The attached file, env_nand.c, allows storing U-Boot environment data in > NAND flash. It is compiled based on CFG_ENV_IS_IN_NAND. > > You need make the following changes to be able to use it: > 1. nand_rw() and nand_erase() in cmd_nand.c need to be made public. > 2. env_common.c needs add CFG_ENV_IS_IN_NAND for compile condition. > 3. env_nand.o needs to be added to obj list > > I currently use U-Boot1.02 which is not up-to-date. I guess sending this > new file makes merging easier. On contrary. Please play by the rules, and send a patch. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de After a heated argument on some trivial matter Nancy [Astor] . . . shouted, ``If I were your wife I would put poison in your coffee!'' Whereupon Winston Churchill with equal heat and sincerity answered, ``And if I were your husband I would drink it.''