[U-Boot] [U-Boot, 1/4, v2] mtd: nand: fsmc: Add BCH4 SW ECC support for SPEAr600

Scott Wood scottwood at freescale.com
Sat Sep 12 16:36:54 CEST 2015


On Sat, 2015-09-12 at 08:50 -0400, Tom Rini wrote:
> On Wed, Sep 02, 2015 at 02:29:12PM +0200, Stefan Roese wrote:
> 
> > This patch adds support for 4-bit ECC BCH4 for the SPEAr600 SoC. This can
> > be used by boards equipped with a NAND chip that requires 4-bit ECC 
> > strength.
> > The SPEAr600 HW ECC only supports 1-bit ECC strength.
> > 
> > To enable SW BCH4, you need to specify this in your config header:
> > 
> > #define CONFIG_NAND_ECC_BCH
> > #define CONFIG_BCH
> > 
> > And use the command "nandecc bch4" to select this ECC scheme upon runtime.
> > 
> > Tested on SPEAr600 x600 board.
> > 
> > Signed-off-by: Stefan Roese <sr at denx.de>
> > Cc: Scott Wood <scottwood at freescale.com>
> > Acked-by: Viresh Kumar <viresh.kumar at linaro.org>
> 
> Applied to u-boot/master, thanks!
> 

There's a v3, and some minor comments even on that one...

-Scott



More information about the U-Boot mailing list