summaryrefslogtreecommitdiffstats
path: root/CREDITS
diff options
context:
space:
mode:
authorJosh Wu <josh.wu@atmel.com>2013-08-19 18:05:44 +0800
committerDavid Woodhouse <David.Woodhouse@intel.com>2013-08-30 21:41:39 +0100
commit2fa831f9db1f1a13960f4ea0fd0454402717b453 (patch)
tree97c4bbba2a72689cf85ff627f62c1f6b87640e4f /CREDITS
parenteedeac3ce94e2a3d4ff28974221b9f309358d8de (diff)
downloadop-kernel-dev-2fa831f9db1f1a13960f4ea0fd0454402717b453.zip
op-kernel-dev-2fa831f9db1f1a13960f4ea0fd0454402717b453.tar.gz
mtd: atmel_nand: pmecc: fix failure to correct bit error in 1024-bytes sector
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 different sector size. Tested in AT91SAM9X5-EK with MLC nand flash. More detail can be found in ยง5.4.1 of: AT91SAM ARM-based Embedded MPU Application Note <http://www.atmel.com/Images/doc11127.pdf> Signed-off-by: Josh Wu <josh.wu@atmel.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud