Hello David,
Thank you for your response!
Your answer makes sense for me. In this case it would be useful to
refactor the "backupless" writes to read sectors only until a non 0xFF
portion found, and then mark that sector erasable or erase immediately.
In the case if the flash has non blank
Hello all,
I am using the flashrom with an external programmer to flash various SPI
flashes a lot.
In most cases I do not care about the old flash contents when flashing,
so the "/Reading old flash chip contents/" step does not have any added
value in my use cases. The code also has a FIXME
Hi Marton,
I respectfully disagree with this approach. Reading the old contents is not
just used for backup. It's used so that flashrom can selectively erase and
write blocks which usually saves time because erase and write operations
are orders of magnitude slower than reads on NOR flash.
So,