[PATCH 1/1] Fix ECC Correction bug for SMC ordering for NDFC driver.

Feng Kan fkan at amcc.com
Sat Aug 22 04:56:13 EST 2009


Yes, I have considered that. However, it would make the #define rather confusing
for the rest.

Cheers,
Feng


-----Original Message-----
From: Sean MacLennan [mailto:smaclennan at pikatech.com]
Sent: Fri 8/21/2009 11:55 AM
To: Feng Kan
Cc: linuxppc-dev at ozlabs.org; linux-mtd at lists.infradead.org; Feng Kan
Subject: Re: [PATCH 1/1] Fix ECC Correction bug for SMC ordering for NDFC driver.
 
On Thu, 20 Aug 2009 17:19:17 -0700
Feng Kan <fkan at amcc.com> wrote:

> Fix ECC Correction bug where the byte offset location were double
> fliped causing correction routine to toggle the wrong byte location
> in the ECC segment. The ndfc_calculate_ecc routine change the order
> of getting the ECC code.

It looks like another fix for this bug is to leave the current code
alone and turn off CONFIG_MTD_NAND_ECC_SMC.

This could be a better fix if this is the way u-boot currently works.
Has anybody verified if the current u-boot has the ECC problem?

Cheers,
   Sean

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090821/c61fa54a/attachment-0001.htm>


More information about the Linuxppc-dev mailing list