diff options
| author | Kai Stuhlemmer (ebee Engineering) <[email protected]> | 2021-05-21 11:52:06 +0300 |
|---|---|---|
| committer | Eugen Hristev <[email protected]> | 2021-06-07 11:01:40 +0300 |
| commit | 32cc2368f816bf21e5e5ffc6070a8abcd8d3e02d (patch) | |
| tree | 698c2d996311494e20b1c7aa0daa9a8309dc526e /doc/develop | |
| parent | 55661ee0e3cf518e1b89939f00fda50b326d3139 (diff) | |
nand: atmel: Correct bitflips in erased pages
Not correcting anything in case of empty ECC data area
is not an appropriate strategy, because an uncorrected bit-flip
in an empty sector may cause upper layers (namely UBI) fail to work
properly. Therefore the approach chosen in Linux kernel and other
u-boot mtd drivers has been adopted, where a heuristic implemented
by nand_check_erased_ecc_chunk() is used in order to detect and
correct empty sectors.
Tested with sama5d3_xplained and sam9x60-ek.
Signed-off-by: Kai Stuhlemmer (ebee Engineering) <[email protected]>
Tested-by: Tudor Ambarus <[email protected]>
[ta: reorder if conditions, change commit subject, s/uint8_t/u8.]
Signed-off-by: Tudor Ambarus <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
