On 29.10.2010 01:13, Carl-Daniel Hailfinger wrote:
This patch makes flashrom use real partial writes. If you write an image full of 0xff, flashrom will erase and detect that no write is needed. If you write an image which differs only in some parts from the current flash contents, flashrom will detect that and not touch unchanged areas.
Fix a long-standing bug in need_erase() for 256 byte granularity as well.
Nice side benefit: Detailed progress printing. S means skipped E means erased W means written
Thanks to everyone who tested and reviewed this patch. I believe it is the most tested patch in flashrom history.
Committed in r1224.
Regards, Carl-Daniel