diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2015-12-21 15:42:01 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-01-04 10:43:31 +0100 |
commit | 69528e8b79aa67e1eb946689fac970ab3aee53a4 (patch) | |
tree | fbe3554bd0ba596937cb3ca4701f6b9879ed4045 /dts/Bindings/clock/renesas,r8a7778-cpg-clocks.txt | |
parent | 142963e9d5f694dd8dfa2d44172bd3ee8933deab (diff) | |
download | barebox-69528e8b79aa67e1eb946689fac970ab3aee53a4.tar.gz barebox-69528e8b79aa67e1eb946689fac970ab3aee53a4.tar.xz |
mtd: gpmi: Add erased page bitflip correction
Hardware ECC does not work for erased pages. However as soon as
something that is not 0xff is found in the page, hardware ECC assumes
this is valid data and produces an uncorrectable error ECC status. We
can use that to check for bitflips in erased pages and fix them if the
number of flipped bits is below the ecc_strength.
We need to move the memcpy above the for loop to be able to access the
buffer directly.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings/clock/renesas,r8a7778-cpg-clocks.txt')
0 files changed, 0 insertions, 0 deletions