Re: [PATCH] Fixup in NAND bad block management + fix of misspring.(nand_base.c)

Alexey, Korolev
2006-02-20T11:56:59Z

Thomas,

> I still do not get why you need all this magic instead of fixing up
> this->badblockpos in the first place.
>
Fixing this->badblockpos in low level driver will not help because,
according to the code this->badblockpos updates in nand_base.c
unconditionally.
Moreover it's rather hard to define the conditions, because by default
structure "this" is filled by zeroes. (We can't distinguish advisedly
setting of badblockpos from the default value).