[PATCH] Fixup in NAND bad block management + fix of misspring.(nand_base.c)
Alexey, Korolev
alexey.korolev at intel.com
Mon Feb 20 06:56:24 EST 2006
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).
More information about the linux-mtd
mailing list