omap_gpmc: add support for hw assisted BCH8
authorAndreas Bießmann <andreas.devel@googlemail.com>
Fri, 5 Apr 2013 04:55:21 +0000 (04:55 +0000)
committerTom Rini <trini@ti.com>
Mon, 8 Apr 2013 15:29:05 +0000 (11:29 -0400)
commit4a0930069b596ae27267a0e7cd44199e2270afa5
tree06242fd84a0a21e8316b6040ff530ed43a674116
parentda634ae3567cc2df435f8617dbc95db2d079bf11
omap_gpmc: add support for hw assisted BCH8

The kernel states:

---8<---
The OMAP3 GPMC hardware BCH engine computes remainder polynomials, it does not
provide automatic error location and correction: this step is implemented using
the BCH library.
--->8---

And we do so in u-boot.

This implementation uses the same layout for BCH8 but it is fix. The current
provided layout does only work with 64 Byte OOB.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Cc: Tom Rini <trini@ti.com>
Cc: Ilya Yanok <ilya.yanok@cogentembedded.com>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Mansoor Ahamed <mansoor.ahamed@ti.com>
Cc: Thomas Weber <thomas.weber.linux@googlemail.com>
doc/README.omap3
drivers/mtd/nand/omap_gpmc.c
lib/Makefile