From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bear.ext.ti.com ([192.94.94.41]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VcXnO-0007IL-3v for linux-mtd@lists.infradead.org; Sat, 02 Nov 2013 09:47:07 +0000 From: Pekon Gupta To: , Subject: [PATCH v3 0/4] optimize and clean-up of OMAP NAND and ELM driver Date: Sat, 2 Nov 2013 15:16:12 +0530 Message-ID: <1383385576-26095-1-git-send-email-pekon@ti.com> MIME-Version: 1.0 Content-Type: text/plain Cc: linux-mtd@lists.infradead.org, Pekon Gupta , balbi@ti.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , *changes from v2 (rebased)* - rebased on [PATCH v11] mtd:nand:omap2: clean-up of supported ECC schemes http://lists.infradead.org/pipermail/linux-mtd/2013-October/049410.html *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 driver: 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 | 704 +++++++++++++------------------------- include/linux/platform_data/elm.h | 6 +- 3 files changed, 316 insertions(+), 516 deletions(-) -- 1.8.1