platform_bootable_recovery/mtdutils
Doug Zongker 5d6309e77f fix comparison of ECC stats before and after mtd reads
ECC errors are found by comparing the result of ioctl(ECCGETSTATS)
before and after the read.  But if an error was found causing us to go
to the next block, we'd compare the stats before the *first* read to
the stats after the second (third, fourth, etc.) reads, so we'd read
to the end of the partition without ever succeeding.  Fix logic so we
compare the values before and after each read independently.

Bug: 3162777
Change-Id: I5a13abd7243d2afd1d21bd98cbb233e5124b2e80
2010-11-03 14:31:01 -07:00
..
Android.mk only build flash_image for eng 2009-07-23 15:17:00 -07:00
flash_image.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
mounts.c close update package before installing; allow remount 2010-09-14 21:26:38 -07:00
mounts.h close update package before installing; allow remount 2010-09-14 21:26:38 -07:00
mtdutils.c fix comparison of ECC stats before and after mtd reads 2010-11-03 14:31:01 -07:00
mtdutils.h add the ability to seek to a raw location while reading MTD partition 2010-09-14 15:28:54 -07:00