NAND: Mark the BBT as scanned prior to calling scan_bbt.
authorScott Wood <scottwood@freescale.com>
Tue, 16 Dec 2008 20:24:16 +0000 (14:24 -0600)
committerScott Wood <scottwood@freescale.com>
Tue, 16 Dec 2008 20:40:34 +0000 (14:40 -0600)
commitff49ea8977b56916edd5b1766d9939010e30b181
tree98a82242c8fc9b2d2b26ace7cce6f25984f48082
parent7f202217356f19e519e6ec57a29de9af73067037
NAND: Mark the BBT as scanned prior to calling scan_bbt.

Otherwise, recursion can occur if scan_bbt does not find a bad block
table, and tries to write one, and the attempt to erase the BBT area
causes a bad block check.

Signed-off-by: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/nand_base.c