summaryrefslogtreecommitdiffstats
path: root/ui.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-07-01 12:09:29 -0700
committerDoug Zongker <dougz@android.com>2009-07-01 12:09:29 -0700
commitbec02d57fb85cc7dd0196a54b0e9530e306623ac (patch)
tree88c0fc6a69cade6f9d4437666c6420e0f757e278 /ui.c
parentd8f7c9b85e25fab93fef2221a84b60edc2e7b837 (diff)
downloadbootable_recovery-bec02d57fb85cc7dd0196a54b0e9530e306623ac.zip
bootable_recovery-bec02d57fb85cc7dd0196a54b0e9530e306623ac.tar.gz
bootable_recovery-bec02d57fb85cc7dd0196a54b0e9530e306623ac.tar.bz2
skip over all-zero blocks when reading MTD partition
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.
Diffstat (limited to 'ui.c')
0 files changed, 0 insertions, 0 deletions