commit | eeada24da8bd23fcf6acd2729be054ea99b301bb | [log] [tgz] |
---|---|---|
author | Artem B. Bityuckiy <dedekind@infradead.org> | Fri Feb 11 10:14:15 2005 +0000 |
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | Mon May 23 12:32:18 2005 +0200 |
tree | c5d3cdffbfc11ec2ee82d64aef4177e92dfdffc7 | |
parent | 41ce921440bd14d9b69b19fbf47d9278582739fe [diff] |
[MTD] NAND: Read only OOB bytes during bad block scan 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>