From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 6 Mar 2015 10:47:05 -0500 Subject: [U-Boot] omap: gpmc: 'nandecc sw' can use HAM1 or BCH8 In-Reply-To: <1424287511-24124-1-git-send-email-ashcharles@gmail.com> References: <1424287511-24124-1-git-send-email-ashcharles@gmail.com> Message-ID: <20150306154705.GY25373@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > 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 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: