nand-badisbad.patch
commitada4a24797d4e490ced95216f9076570fa6cdf21
authormokopatches <unknown@openmoko.org>
Fri, 11 Apr 2008 13:26:55 +0000 (11 14:26 +0100)
committerwarmcat <andy@warmcat.com>
Fri, 11 Apr 2008 13:26:55 +0000 (11 14:26 +0100)
tree30a8b13edb8f9e282b7155fe1ed50625a1ae0cc6
parent566b534c782bcc46b17c7b8662bc5739c26277e9
nand-badisbad.patch
This patch makes nand_block_checkbad check both the BBT and the actual
OOB data. This avoids accidently passing blocks as good when BBT and
OOB markers are not synchronized, e.g., before "nand createbbt".

Experimental.

- Werner Almesberger <werner@openmoko.org>
drivers/mtd/nand/nand_base.c