summaryrefslogtreecommitdiff
path: root/drivers/mtd/tests/mtd_readtest.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2011-06-28 23:28:58 (GMT)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-11 12:02:14 (GMT)
commit903cd06cd6ece7f9050a3ad5b03e0b76be2882ff (patch)
treea538b351316987ddcef8dd28fb31b9e1bbd7a910 /drivers/mtd/tests/mtd_readtest.c
parent51b11e3630672b7ce8793ecf13e5759656edf38a (diff)
downloadlinux-fsl-qoriq-903cd06cd6ece7f9050a3ad5b03e0b76be2882ff.tar.xz
mtd: nand: ignore ECC errors for simple BBM scans
Now that nand_do_readoob() may return -EUCLEAN or -EBADMSG on ECC errors, we need to handle the return value specially in some cases. When scanning for simple bad block markers, reacting to an ECC error is not very useful, as we assume that the relevant markers are still non-0xFF for true bad blocks. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>
Diffstat (limited to 'drivers/mtd/tests/mtd_readtest.c')
0 files changed, 0 insertions, 0 deletions