[MTD] NAND: Read only OOB bytes during bad block scan
authorArtem B. Bityuckiy <dedekind@infradead.org>
Fri, 11 Feb 2005 10:14:15 +0000 (10:14 +0000)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Mon, 23 May 2005 10:32:18 +0000 (12:32 +0200)
When scanning NAND for bad blocks, don't read the whole page, read
only needed OOB bytes instead. Also check the return code of the
nand_read_raw() function. Correctly free the this->bbt array in
case of failure. Tested with Large page NAND.

Fix debugging message.

Signed-off-by: Artem B. Bityuckiy <dedekind@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

No differences found