diff options
author | Álvaro Fernández Rojas <[email protected]> | 2021-02-24 09:02:10 +0100 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2021-03-11 09:37:30 +0100 |
commit | f5200c14242fb8fa4a9b93f7fd4064d237e58785 (patch) | |
tree | e76ebcf3812d2c6341ca613f67f1f52bb4c4dd52 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 503ee5aad43054a26cfd5cc592a31270c05539cd (diff) |
mtd: rawnand: brcmnand: fix OOB R/W with Hamming ECC
Hamming ECC doesn't cover the OOB data, so reading or writing OOB shall
always be done without ECC enabled.
This is a problem when adding JFFS2 cleanmarkers to erased blocks. If JFFS2
clenmarkers are added to the OOB with ECC enabled, OOB bytes will be changed
from ff ff ff to 00 00 00, reporting incorrect ECC errors.
Fixes: 27c5b17cd1b1 ("mtd: nand: add NAND driver "library" for Broadcom STB NAND controller")
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Acked-by: Brian Norris <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions