Skip to content

mtd: nand: omap: optimize OMAP NAND driver

Stefan Roese u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v9 Latest0 of 4 patches 0 repliesNew

Patches in v9 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchStefan Roese
SeriesT-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v9 thread

Cover letter [U-Boot] [PATCH v9 0/4] mtd: nand: omap: optimize OMAP NAND driver
Quoted 26 lines · Pekon
Quoted 22 lines

From: Gupta, Pekon
Subject: [PATCH v9 0/4] mtd: nand: omap: optimize OMAP NAND driver

OMAP NAND drivers support various ecc-schemes like (HAM1, BCH4, BCH8..) And, each ecc-scheme usually has 2 implementations
- HAM1_HW or BCHx_HW (using in-build h/w engine for all computation)
- HAM1_SW or BCHx_HW_DETECTION_SW) (using software library for some computation)

This patch series is Part-2 (split) from earlier series, as mentioned below:
http://lists.denx.de/pipermail/u-boot/2013-November/167270.html

This series aims at following:
- cleans-up redundant code, duplicate in different ecc-schemes
- optimizes ecc calculation and correction paths
- improves scalability and readability, for adding newer ecc-schemes in future.
- updates following callbacks for different ecc-schmes:
[PATCH 1/4] nand_chip->ecc.hwctl(): configures h/w controller before for Read/Write acccess [PATCH 2/4] nand_chip->ecc.calculate(): calculates and fetches ECC syndrome from h/w controller. [PATCH 3/4] nand_chip->ecc.correct(): detects and corrects ECC errors on read access [PATCH 4/4] update doc and README

Quoted 3 lines

*changes in v9*
- split from main series, rebased and forked independently

Quoted 5 lines

Request you to please review this series. And accept it if it looks okay.

And a bug-fix which causes regression for x8 NAND devices using HAM1 ecc-scheme. This was reported & (un-officially) tested by Stefan Roese <[email protected]>.

I tested this patch series plus the fix from Pekon on an x8 and x16 OMAP3530 board. Both without any problems. So for this series:

Thanks,
Stefan