summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-11-05 16:25:15 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-11-10 08:42:29 +0100
commit3376ed2b01dc8d43d268a5778ddfe58e73622caf (patch)
treef935b8a427da365fe6be37bb133a654384d349b4 /include/linux
parent9217c043d49c5df4f689b485407f324751798cd1 (diff)
downloadbarebox-3376ed2b01dc8d43d268a5778ddfe58e73622caf.tar.gz
barebox-3376ed2b01dc8d43d268a5778ddfe58e73622caf.tar.xz
mtd: nand: atmel: Fix pmecc ecc settings
pmecc has hardcoded steps of 1 and ecc size of the nand chips page size. This is wrong, the ECC engine does 512 or 1024 bytes per step. Adjust ecc size and step size accordingly. Also, fix ecc strength which was hardcoded to 1. With this the correct number of bitflips is reported, which should be the number of bitflips per ecc step, not the one for the whole page. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions