]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MTD] [NAND] fsl_elbc_nand: implement support for flash-based BBT
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Fri, 27 Jun 2008 19:04:13 +0000 (23:04 +0400)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 11 Jul 2008 17:16:16 +0000 (18:16 +0100)
commitec6e0ea3bdf82ee9761d324c011c3627821f7410
tree0a8998044363d28177daab74eb2a1fc2e8898de1
parent452db2724351ff3d9416a183a7955e00ab4e6ab4
[MTD] [NAND] fsl_elbc_nand: implement support for flash-based BBT

This patch implements support for flash-based BBT for chips working
through ELBC NAND controller, so that NAND core will not have to re-scan
for bad blocks on every boot.

Because ELBC controller may provide HW-generated ECCs we should adjust
bbt pattern and bbt version positions in the OOB free area.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsl_elbc_nand.c