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

Skip to content
Commit 96efac94 authored by Krishna Konda's avatar Krishna Konda
Browse files

mtd: msm_qpic_nand: update erase page detection



QPIC nand controller's ECC engine does not modify the data that is read
from NAND device during ECC operation. So in case there is an ECC error
on an erased page or codeword read, a register called erased codeword
status is updated.

Fix the erased page detection code to use the above information instead
of trying to look for known patterns that might be present in the data
after ECC operation.

Change-Id: Id478014aa311dfb9fc5564c72fb357b88482c381
Signed-off-by: default avatarKrishna Konda <kkonda@codeaurora.org>
parent 7d448392
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment