summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/ata/ahci-platform.txt
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2015-12-21 15:42:01 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-01-04 10:43:31 +0100
commit69528e8b79aa67e1eb946689fac970ab3aee53a4 (patch)
treefbe3554bd0ba596937cb3ca4701f6b9879ed4045 /dts/Bindings/ata/ahci-platform.txt
parent142963e9d5f694dd8dfa2d44172bd3ee8933deab (diff)
downloadbarebox-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/ata/ahci-platform.txt')
0 files changed, 0 insertions, 0 deletions