diff options
author | Artem B. Bityuckiy <dedekind@infradead.org> | 2005-02-11 13:14:15 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-05-23 14:32:18 +0400 |
commit | eeada24da8bd23fcf6acd2729be054ea99b301bb (patch) | |
tree | c5d3cdffbfc11ec2ee82d64aef4177e92dfdffc7 /drivers/mtd/chips/jedec_probe.c | |
parent | 41ce921440bd14d9b69b19fbf47d9278582739fe (diff) | |
download | linux-eeada24da8bd23fcf6acd2729be054ea99b301bb.tar.xz |
[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>
Diffstat (limited to 'drivers/mtd/chips/jedec_probe.c')
0 files changed, 0 insertions, 0 deletions