diff options
| author | Álvaro Fernández Rojas <[email protected]> | 2020-05-12 10:24:51 +0200 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2020-05-24 20:39:39 +0200 |
| commit | dcb351c03f2fa6a599de1061b174167e03ee312b (patch) | |
| tree | ae4083da922063c3c6e75a0d6f525aca5a8f05e0 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | d00358d7a1c50718232799e1ee10955bcd73795a (diff) | |
mtd: rawnand: brcmnand: correctly verify erased pages
The current code checks that the whole OOB area is erased.
This is a problem when JFFS2 cleanmarkers are added to the OOB, since it will
fail due to the usable OOB bytes not being 0xff.
Correct this by only checking that data and ECC bytes aren't 0xff.
Fixes: 02b88eea9f9c ("mtd: brcmnand: Add check for erased page bitflips")
Signed-off-by: Álvaro Fernández Rojas <[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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions