Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/43282 )
Change subject: ft2232_spi.c: change the chunksize to 280 ......................................................................
Patch Set 4:
Too bad these things aren't well documented. Maybe the original FTDI library has some hint why one can set the size at all?
If we keep the chunksize setting, I would make this part of the write command. e.g. keep a global variable with the last set chunksize and then try to increase it everytime we need something higher. Or the other way around, #define a maximum and then check that this maximum isn't exceeded in the com- mand processing.