Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d45e5316 authored by Boris Brezillon's avatar Boris Brezillon
Browse files

mtd: nand: fsl_ifc: fix handing of bit flips in erased pages



If we see unrecoverable ECC error, we need to count number of bitflips
from all-ones and report correctable/uncorrectable according to
that. Otherwise we report ECC failed on erased flash with single bit error.

Signed-off-by: default avatarPavel Machek <pavel@denx.de>
Reported-by: default avatarDarwin Dingel <Darwin.Dingel@alliedtelesis.co.nz>
Acked-by: default avatarDarwin Dingel <Darwin.Dingel@alliedtelesis.co.nz>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent 30ee809e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment