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

Sean MacLennan smaclennan at pikatech.com
Sat Aug 22 04:55:06 EST 2009

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?


More information about the Linuxppc-dev mailing list