NAND ECC Error with wrong SMC ording bug

Sean MacLennan smaclennan at
Thu Aug 20 00:38:51 EDT 2009

On Wed, 19 Aug 2009 16:16:54 -0700
Feng Kan <fkan at> wrote:

> I see other boards using SMC as well, can someone comment on the
> change I am proposing.
> Should I change the correction algorithm or the calculate function?
> If the later is preferred
> it would mean the change must be pushed in both U-Boot and Linux.

Odds are the calculate function is wrong. The correction algo is used
by many nand drivers, I *assume* it is correct. The calculate function
was set to agree with u-boot (1.3.0).


P.S. Yes, I know the u-boot is an ancient version :(

More information about the linux-mtd mailing list