[PATCH v2] nand-bb fixes
Sascha Hauer
s.hauer at pengutronix.de
Tue Feb 10 01:03:28 PST 2015
Changes:
- in nand_bb_erase we have to use '>' instead of '>=' to test if we must
bail out
- Add patch to fix testing for a bad block when reading from the device.
- Add patch to also print the raw position when debugging.
Sascha
----------------------------------------------------------------
Sascha Hauer (6):
mtd: nand: omap: Fix OMAP_ECC_BCH8_CODE_HW ecc mode
mtd: Fix allowing to erase bad blocks on partitions
mtd: nand-bb: Fix accesses beyond device
mtd: nand-bb: fix erasing bb devices with bad blocks
mtd: nand-bb: Fix test for bad block when reading
mtd: nand-bb: Also print raw position in debug messages
drivers/mtd/core.c | 6 ++---
drivers/mtd/nand/nand-bb.c | 48 ++++++++++++++++++++++++++++++++++-----
drivers/mtd/nand/nand_omap_gpmc.c | 4 ++--
3 files changed, 47 insertions(+), 11 deletions(-)
More information about the barebox
mailing list