Attention is currently required from: Nico Huber. Simon Buhrow has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/58467 )
Change subject: flashchips.c: big erase blocksize first ......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1: Just a starting point for discussion.
I used the following comands: time sudo flashrom -p ft2232_spi:type=2232H,port=A -E -VV and time sudo flashrom -p ft2232_spi:type=2232H,port=A -w write_64Mb_flash.bin -VV
In the first case the order modification does save more than 2 minutes. In the second case it saved 2 seconds (the .bin file has only the first word different from a erased flash).
Just let me know if this setup covers in a satisfying way the range of scenarios. If needed I can upload the flashrom output.