summaryrefslogtreecommitdiffstats
path: root/mtdutils/mtdutils.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-07-01skip over all-zero blocks when reading MTD partitionDoug Zongker1-1/+12
We fail to detect certain bad blocks (marked in the factory as bad, I think?) when reading mtd partitions. These come back as a block of all zeros. Since it's fairly unlikely a legitimate boot or recovery block will contain 128k of zeros, change mtdutils to skip over such blocks. Arve says https://review.source.android.com/10535 may be a long-term fix for this, but he isn't yet sure.
2009-03-04auto import from //depot/cupcake/@135843The Android Open Source Project1-0/+510
2009-03-04auto import from //depot/cupcake/@135843The Android Open Source Project1-510/+0