aboutsummaryrefslogtreecommitdiff
path: root/test/py/tests/test_ofplatdata.py
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2023-02-11 16:29:04 +0100
committerDario Binacchi <dario.binacchi@amarulasolutions.com>2023-02-27 16:29:43 +0100
commit6091939c3475946e92cb0bef6278ec27f93f972b (patch)
tree8c3b63915dc9bc763d92569d10d33aae7334c741 /test/py/tests/test_ofplatdata.py
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 <noltari@gmail.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20200512082451.771212-1-noltari@gmail.com [Ported to U-Boot from the Linux kernel] Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: William Zhang <william.zhang@broadcom.com> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Diffstat (limited to 'test/py/tests/test_ofplatdata.py')
0 files changed, 0 insertions, 0 deletions