summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorIvan Djelic <ivan.djelic@parrot.com>2012-04-26 14:17:49 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-05-13 23:25:42 -0500
commit8d602cf50d3bba864bc1438f486b626df69c87b3 (patch)
tree18636ef99650881a6f0473780ab22fa4f58f4f1d /.gitignore
parent1951f2f710a621ae0bc4268617046a6c02c634d0 (diff)
downloadop-kernel-dev-8d602cf50d3bba864bc1438f486b626df69c87b3.zip
op-kernel-dev-8d602cf50d3bba864bc1438f486b626df69c87b3.tar.gz
ARM: OMAP3: gpmc: add BCH ecc api and modes
This patch adds a simple BCH ecc computation api, similar to the existing Hamming ecc api. It is intended to be used by the MTD layer. It implements the following features: - support 4-bit and 8-bit ecc computation - do not protect user bytes in spare area, only data area is protected - ecc for an erased NAND page (0xFFs) is also a sequence of 0xFFs This last feature is obtained by adding a constant polynomial to the hardware computed ecc. It allows to correct bitflips in blank pages and is extremely useful to support filesystems such as UBIFS, which expect erased pages to contain only 0xFFs. This api has been tested on an OMAP3630 board. Artem: The OMAP maintainer Tony Lindgren gave us his blessing for merging this patch via the MTD tree. Signed-off-by: Ivan Djelic <ivan.djelic@parrot.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud