[U-Boot] [PATCH] fw_env: add NAND support

Wolfgang Denk wd at denx.de
Wed Sep 3 15:25:34 CEST 2008


Dear Markus =?iso-8859-1?Q?Klotzb=FCcher?=,

In message <20080903115150.GA12440 at 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


More information about the U-Boot mailing list