[MTD] OneNAND: Check first or second pages for bad block information
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Mon, 22 Jan 2007 12:30:31 +0000 (21:30 +0900)
committerKyungmin Park <kyungmin.park@samsung.com>
Mon, 22 Jan 2007 12:30:31 +0000 (21:30 +0900)
commitec255e34061bbc48fc702875336c6db969df9461
treea09564c11687bc88f704a2c34fbbe6aa78c8aab3
parentf00b0046d2eafac3e78e8def9374c7492820a9d2
[MTD] OneNAND: Check first or second pages for bad block information

OneNAND records bad block information in the out-of-band area of either the first or second page of a block.  Due to a logic error, only the first page was being checked.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/mtd/onenand/onenand_bbt.c