[U-Boot] omap: gpmc: 'nandecc sw' can use HAM1 or BCH8

Tom Rini trini at konsulko.com
Fri Mar 6 16:47:05 CET 2015


On Wed, Feb 18, 2015 at 11:25:11AM -0800, Ash Charles wrote:

> The 'nandecc sw' command selects a software-based error correction
> algorithm.  By default, this is OMAP_ECC_HAM1_CODE_SW but some
> platforms use OMAP_ECC_BCH8_CODE_HW_DETECTION_SW as their
> software-based correction algorithm.  Allow a user to be specific e.g.
>  # nandecc sw <hamming|bch8>
> where 'hamming' is still the default.
> 
> Note: we don't just use CONFIG_NAND_OMAP_ECCSCHEME as it might be set
>       to a hardware-based ECC scheme---a little strange when the user
>       has requested 'sw' ECC.
> 
> Signed-off-by: Ash Charles <ashcharles at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150306/b5e2f10d/attachment.sig>


More information about the U-Boot mailing list