From 16ce40ec4e4c236357bc3bf984757438aa8ff764 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 5 Oct 2010 21:21:09 +0000 Subject: Quick fix for broken writes on FT2232H based programmers Not sure if this is the final/correct fix, but for now it definately fixes writes on FT2232H hardware. I have tested this on both, the DLP Design DLP-USB1232H, and the openbiosprog-spi hardware. Thanks to Joshua Roys for the hint on IRC. Corresponding to flashrom svn r1190. Signed-off-by: Uwe Hermann Acked-by: Carl-Daniel Hailfinger --- ft2232_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ft2232_spi.c') diff --git a/ft2232_spi.c b/ft2232_spi.c index 0ffe1ce..30eff42 100644 --- a/ft2232_spi.c +++ b/ft2232_spi.c @@ -195,7 +195,7 @@ int ft2232_spi_init(void) msg_perr("Unable to set latency timer\n"); } - if (ftdi_write_data_set_chunksize(ftdic, 512)) { + if (ftdi_write_data_set_chunksize(ftdic, 256)) { msg_perr("Unable to set chunk size\n"); } -- cgit v1.1