[PATCH v2 0/4] optimize and clean-up of OMAP NAND and ELM driver

Pekon Gupta pekon at ti.com
Mon Oct 7 03:55:01 PDT 2013


*changes from v1 (minor)*
- rebased for newer version of previous patch-set
	[PATCH v7 0/6] mtd:nand:omap2: clean-up of supported ECC schemes
	http://lists.infradead.org/pipermail/linux-mtd/2013-October/048983.html
- code cleanup and formating updates

*original v1*
This patch series builds the base for adding support for newer H/W based ECC
schemes for NAND flash. This patch series 
- cleans-up redundant code among various
- optimizes ecc calculation and correction paths
- improves scalability and readability, for adding newer ecc-schemes in future.
This patch affects following data-paths: 
[PATCH 1/4] NAND chip->ecc.correct(): Detects and corrects ECC errors on read accesses.
[PATCH 2/4] NAND chip->ecc.calculate(): Calculates and fetches ECC syndrome from controller.
[PATCH 3/4] NAND chip->ecc.hwctl(): Configures H/W controller for Read/Write data acccesses.
[PATCH 4/4] ELM  add checks and updates code for scalability.

Pekon Gupta (4):
  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

 drivers/mtd/devices/elm.c         | 122 ++++---
 drivers/mtd/nand/omap2.c          | 723 +++++++++++++-------------------------
 include/linux/platform_data/elm.h |   6 +-
 3 files changed, 325 insertions(+), 526 deletions(-)

-- 
1.8.1




More information about the linux-mtd mailing list