]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: Blackfin NFC: fix badblock location with BootROM OOB
authorMike Frysinger <vapier@gentoo.org>
Sat, 16 Oct 2010 22:26:59 +0000 (18:26 -0400)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 25 Oct 2010 00:15:22 +0000 (01:15 +0100)
commiteac912bf4ad456a666cb373d318dd1118e29c4dc
treef279af3e54bf8e55783bd3517e396ff622eb9007
parent0aea799ab409c3871183acfec62f25d2d4cff078
mtd: Blackfin NFC: fix badblock location with BootROM OOB

The bbt structure isn't actually used, just the badblockpos.  This lets
the driver correctly handle badblocks with the different OOB layout with
certain sized flashes.  Previously, the blocks would all be reported as
bad and be completely unusable.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/bf5xx_nand.c