Messages in this thread | | | From | Boris Brezillon <> | Subject | [RFC PATCH 0/2] mtd: nand: properly handle bitflips in erased pages | Date | Thu, 30 Jul 2015 19:34:52 +0200 |
| |
Hi Brian,
This is the patch series I promised a while ago. The implementation should be generic enough to be used by controller drivers. The only problem I can see is for the GPMI controller which might produce non byte aligned ECC data, and the nand_check_erased helpers are only working with byte aligned buffers.
Best Regards,
Boris
Boris Brezillon (2): mtd: nand: add nand_check_erased helper functions mtd: nand: use nand_check_erased_ecc_chunk in default ECC read functions
drivers/mtd/nand/nand_base.c | 167 ++++++++++++++++++++++++++++++++++++++++--- include/linux/mtd/nand.h | 8 +++ 2 files changed, 167 insertions(+), 8 deletions(-)
-- 1.9.1
| |