aboutsummaryrefslogtreecommitdiffstats
path: root/configs/sam9x60ek_mmc_defconfig
diff options
context:
space:
mode:
authorKai Stuhlemmer (ebee Engineering) <kai.stuhlemmer@ebee.de>2021-05-21 11:52:06 +0300
committerEugen Hristev <eugen.hristev@microchip.com>2021-06-07 11:01:40 +0300
commit32cc2368f816bf21e5e5ffc6070a8abcd8d3e02d (patch)
tree698c2d996311494e20b1c7aa0daa9a8309dc526e /configs/sam9x60ek_mmc_defconfig
parent55661ee0e3cf518e1b89939f00fda50b326d3139 (diff)
downloadu-boot-32cc2368f816bf21e5e5ffc6070a8abcd8d3e02d.tar.gz
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) <kai.stuhlemmer@ebee.de> Tested-by: Tudor Ambarus <tudor.ambarus@microchip.com> [ta: reorder if conditions, change commit subject, s/uint8_t/u8.] Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Diffstat (limited to 'configs/sam9x60ek_mmc_defconfig')
0 files changed, 0 insertions, 0 deletions