[U-Boot] [PATCH v4 4/6] omap_gpmc: change nandecc command

2013-04-05 Thread Andreas Bießmann
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()

Re: [U-Boot] [PATCH v4 4/6] omap_gpmc: change nandecc command

2013-04-05 Thread Thomas Weber
Hello Andreas, this patch fixes the reported BUG(). The output is now: -8- OMAP3 DevKit8000 # nandecc hw hamming 1-bit hamming HW ECC selected OMAP3 DevKit8000 # nandecc hw bch8 Unsupported HW ECC algorithm NAND_ECC_NONE selected by board driver. This is not recommended !! OMAP3

Re: [U-Boot] [PATCH v4 4/6] omap_gpmc: change nandecc command

2013-04-05 Thread Andreas Bießmann
Dear Thomas Weber, On 04/05/2013 01:48 PM, Thomas Weber wrote: Hello Andreas, this patch fixes the reported BUG(). The output is now: -8- OMAP3 DevKit8000 # nandecc hw hamming 1-bit hamming HW ECC selected OMAP3 DevKit8000 # nandecc hw bch8 Unsupported HW ECC algorithm