[U-Boot] mtd: atmel_nand: pmecc: fix bug fail to correct bit error in 1024-bytes sector

Andreas Bießmann andreas.devel at googlemail.com
Wed Sep 4 17:14:25 CEST 2013


Dear Josh Wu,

Josh Wu <Josh.wu at atmel.com> writes:
>The PMECC use BCH algorithm to correct error. In BCH algorithm, the
>primitive polynomial value is GF(2^13) for 512-bytes sector size. And it is
>GF(2^14) for 1024-bytes sector size.
>
>This patch will choose correct degree of the remainders (13 or 14) for

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bießmann


More information about the U-Boot mailing list