ARM: OMAP2+: gpmc: fix gpmc_hwecc_bch_capable()
authorChristoph Fritz <chf.fritz@googlemail.com>
Mon, 14 Jul 2014 01:36:18 +0000 (03:36 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 23 Jul 2014 08:48:24 +0000 (01:48 -0700)
commit33753cd2ba41c72a0756edc5dc094d91602deda5
treed5032941d081863132623b1383fc9c16495b91f9
parent23d9cec07c589276561c13b180577c0b87930140
ARM: OMAP2+: gpmc: fix gpmc_hwecc_bch_capable()

This patch adds bch8 ecc software fallback which is mostly used by
omap3s because they lack hardware elm support.

Fixes: 0611c41934ab35ce84dea34ab291897ad3cbc7be (ARM: OMAP2+: gpmc:
update gpmc_hwecc_bch_capable() for new platforms and ECC schemes)
Cc: <stable@vger.kernel.org> # 3.15.x+
Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
Reviewed-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpmc-nand.c