omap_gpmc: BCH8 support (ELM based)
authorMansoor Ahamed <mansoor.ahamed@ti.com>
Tue, 6 Nov 2012 13:06:33 +0000 (13:06 +0000)
committerTom Rini <trini@ti.com>
Mon, 10 Dec 2012 15:54:02 +0000 (08:54 -0700)
commitc3754e9cc23af1bbd15fb10034c0e7c8ee62b110
treec29305ce6c8c48f9bd3c0e49a89337b8b12aa9e3
parent04c375782989166e7960206ad7e46904d8772f7d
omap_gpmc: BCH8 support (ELM based)

This patch adds support for BCH8 error correction code to omap_gpmc
driver. We use GPMC to generate codes/syndromes but we need ELM to find
error locations from given syndrome.

Signed-off-by: Mansoor Ahamed <mansoor.ahamed@ti.com>
[ilya: merge it with omap_gpmc driver, some fixes and cleanup]
Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
drivers/mtd/nand/omap_gpmc.c