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>
Showing
- arch/arm/cpu/armv7/omap3/board.c 23 additions, 8 deletionsarch/arm/cpu/armv7/omap3/board.c
- arch/arm/include/asm/arch-am33xx/sys_proto.h 1 addition, 1 deletionarch/arm/include/asm/arch-am33xx/sys_proto.h
- arch/arm/include/asm/arch-omap3/sys_proto.h 1 addition, 1 deletionarch/arm/include/asm/arch-omap3/sys_proto.h
- drivers/mtd/nand/omap_gpmc.c 31 additions, 26 deletionsdrivers/mtd/nand/omap_gpmc.c
Loading
Please register or sign in to comment