Re: [flashrom] Add option to disable the reading back of the flash contents at write operation

2015-12-12 Thread Márton Miklós
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

Re: [flashrom] Add option to disable the reading back of the flash contents at write operation

2015-12-11 Thread David Hendricks
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,