omap_gpmc: change nandecc command
authorAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 4 Apr 2013 23:52:50 +0000 (23:52 +0000)
committerTom Rini <trini@ti.com>
Mon, 8 Apr 2013 15:29:05 +0000 (11:29 -0400)
commitda634ae3567cc2df435f8617dbc95db2d079bf11
treea249938868b5615ac13d3b35e10dfade2673f983
parentc0ed9179b817dfc147b553d513e72a49f3b932e2
omap_gpmc: change nandecc command

With uppcoming BCH support on OMAP devices we need to decide between differnt
algorithms when switching the ECC engine.  Currently we support 1-bit hammign
and 8-bit BCH on HW backend.

In order to switch between differnet ECC algorithms we need to change the
interface of omap_nand_switch_ecc() also.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Cc: Tom Rini <trini@ti.com>
Cc: Thomas Weber <thomas.weber.linux@googlemail.com>
arch/arm/cpu/armv7/omap3/board.c
arch/arm/include/asm/arch-am33xx/sys_proto.h
arch/arm/include/asm/arch-omap3/sys_proto.h
drivers/mtd/nand/omap_gpmc.c