This patch series builds the base for adding support for newer H/W based ECC schemes for NAND flash. This patch cleans-up redundant code among various ECC schemes and improves scalability and readability. This patch affects following data-paths: [PATCH 1/5] NAND chip->ecc.correct(): Detects and corrects ECC errors on read accesses. [PATCH 2/5] NAND chip->ecc.calculate(): Calculates and fetches ECC syndrome from controller. [PATCH 3/5] NAND chip->ecc.hwctl(): Configures H/W controller for Read/Write data acccesses. [PATCH 4/5] ELM add checks and updates code for scalability. [PATCH 5/5] NAND code clean-up to improve readability. Pekon Gupta (5): mtd: nand: omap: optimized chip->ecc.correct() for H/W ECC schemes mtd: nand: omap: optimize chip->ecc.calculate() for H/W ECC schemes mtd: nand: omap: optimize chip->ecc.hwctl() for H/W ECC schemes mtd: devices: elm: add checks ELM H/W constrains, driver code cleanup mtd: nand: omap: code clean-up and white-space fixes drivers/mtd/devices/elm.c | 114 ++--- drivers/mtd/nand/omap2.c | 906 ++++++++++++++------------------------ include/linux/platform_data/elm.h | 6 +- 3 files changed, 411 insertions(+), 615 deletions(-) -- 1.8.1 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html