From: Sean MacLennan Date: Thu, 20 Aug 2009 00:38:51 -0400 Subject: [U-Boot] NAND ECC Error with wrong SMC ording bug In-Reply-To: <4A8C87E6.6070702@amcc.com> References: <19081.57584.173693.798535@cargo.ozlabs.ibm.com> <1250569482.19007.23.camel@pasglop> <4A8C87E6.6070702@amcc.com> Message-ID: <20090820003851.1a532444@lappy.seanm.ca> 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, 19 Aug 2009 16:16:54 -0700 Feng Kan 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). Cheers, Sean P.S. Yes, I know the u-boot is an ancient version :(