path: root/ft2232_spi.c
diff options
authorUwe Hermann <>2010-10-05 21:21:09 +0000
committerUwe Hermann <>2010-10-05 21:21:09 +0000
commit16ce40ec4e4c236357bc3bf984757438aa8ff764 (patch)
treefbfb6428bc8b4f2bc3347025f060d0fe2e7fe3f2 /ft2232_spi.c
parentcbee4a7242c2c54d64ff22b08e023d0bcec2113a (diff)
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 <>
Diffstat (limited to 'ft2232_spi.c')
1 files changed, 1 insertions, 1 deletions
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");
OpenPOWER on IntegriCloud