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

Commit b28af78e authored by Pradeep P V K's avatar Pradeep P V K
Browse files

mtd: msm_qpic_nand: Use flash device ECC capability for erase page



Page codeword's ECC data is used to determine if the page is actually
erased or not. On an erased page, this data is all 0xFF. The acceptable
bitflips on this ECC data is flash device dependent. So, always check
against flash device ECC capability value for erase page determination.

Change-Id: Ib3889f91c871b5f131fe8bc960ffa68ac11e0633
Signed-off-by: default avatarPradeep P V K <ppvk@codeaurora.org>
parent 9499b3ff
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