diff options
author | Andreas Bießmann <andreas.devel@googlemail.com> | 2013-04-04 23:52:50 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-04-08 15:29:05 (GMT) |
commit | da634ae3567cc2df435f8617dbc95db2d079bf11 (patch) | |
tree | a249938868b5615ac13d3b35e10dfade2673f983 /arch/arm/include/asm/arch-omap3 | |
parent | c0ed9179b817dfc147b553d513e72a49f3b932e2 (diff) | |
download | u-boot-fsl-qoriq-da634ae3567cc2df435f8617dbc95db2d079bf11.tar.xz |
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>
Diffstat (limited to 'arch/arm/include/asm/arch-omap3')
-rw-r--r-- | arch/arm/include/asm/arch-omap3/sys_proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-omap3/sys_proto.h b/arch/arm/include/asm/arch-omap3/sys_proto.h index d60f2ad..dae1312 100644 --- a/arch/arm/include/asm/arch-omap3/sys_proto.h +++ b/arch/arm/include/asm/arch-omap3/sys_proto.h @@ -78,7 +78,7 @@ void sr32(void *, u32, u32, u32); u32 wait_on_value(u32, u32, void *, u32); void sdelay(unsigned long); void make_cs1_contiguous(void); -void omap_nand_switch_ecc(int); +void omap_nand_switch_ecc(uint32_t, uint32_t); void power_init_r(void); void dieid_num_r(void); void do_omap3_emu_romcode_call(u32 service_id, u32 parameters); |