summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <[email protected]>2023-02-11 16:29:04 +0100
committerDario Binacchi <[email protected]>2023-02-27 16:29:43 +0100
commit6091939c3475946e92cb0bef6278ec27f93f972b (patch)
tree8c3b63915dc9bc763d92569d10d33aae7334c741 /scripts/basic
parent2de9ff609db9f5dd72eff7d9c9336ceeb2ec7d6a (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] [Ported to U-Boot from the Linux kernel] Signed-off-by: Linus Walleij <[email protected]> Acked-by: William Zhang <[email protected]> Signed-off-by: Dario Binacchi <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions