From: Wolfgang Denk Date: Wed, 03 Sep 2008 15:25:34 +0200 Subject: [U-Boot] [PATCH] fw_env: add NAND support In-Reply-To: <20080903115150.GA12440@lisa> References: <20080903115150.GA12440@lisa> Message-ID: <20080903132534.D4DBC248A0@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 Markus =?iso-8859-1?Q?Klotzb=FCcher?=, In message <20080903115150.GA12440@lisa> you wrote: > > Hmmm, what exactly are you doing here? IIRC environment in NAND was > implemented slightly differently than NOR in that it reused the > obsolete flag as a serial number. This number is incremented for every > write so the env with the higher number is always the current one > (besides the corner case where the number overflows, see > env_nand.c). This way the obsoleting can be completly avoided. Right, that was how you designed and implemented it. > I can't see this in your patch? I don't see it either. Thanks for pointing out. 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 Fools ignore complexity. Pragmatists suffer it. Some can avoid it. Geniuses remove it. - Perlis's Programming Proverb #58, SIGPLAN Notices, Sept. 1982