Angel Pons has submitted this change. ( https://review.coreboot.org/c/flashrom/+/39632 )
Change subject: ft2232_spi.c: change the chunksize from 256 to 270 ......................................................................
ft2232_spi.c: change the chunksize from 256 to 270
This is to really make use of page write time advantage. Because the Chunksize must be 256Byte raw data plus the address and cmd bytes.
For details check: https://mail.coreboot.org/hyperkitty/list/flashrom@flashrom.org/message/W2HU...
Signed-off-by: Simon Buhrow simon.buhrow@posteo.de Change-Id: Iac067a23025e9df053ab9cd4e82a98de70046c18 Reviewed-on: https://review.coreboot.org/c/flashrom/+/39632 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: David Hendricks david.hendricks@gmail.com Reviewed-by: Angel Pons th3fanbus@gmail.com --- M ft2232_spi.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified David Hendricks: Looks good to me, approved Angel Pons: Looks good to me, approved
diff --git a/ft2232_spi.c b/ft2232_spi.c index 1a5b2fe..520eb6e 100644 --- a/ft2232_spi.c +++ b/ft2232_spi.c @@ -398,7 +398,7 @@ msg_perr("Unable to set latency timer (%s).\n", ftdi_get_error_string(ftdic)); }
- if (ftdi_write_data_set_chunksize(ftdic, 256)) { + if (ftdi_write_data_set_chunksize(ftdic, 270)) { msg_perr("Unable to set chunk size (%s).\n", ftdi_get_error_string(ftdic)); }