diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2010-10-05 21:21:09 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2010-10-05 21:21:09 +0000 |
commit | 16ce40ec4e4c236357bc3bf984757438aa8ff764 (patch) | |
tree | fbfb6428bc8b4f2bc3347025f060d0fe2e7fe3f2 /ft2232_spi.c | |
parent | cbee4a7242c2c54d64ff22b08e023d0bcec2113a (diff) | |
download | flashrom-16ce40ec4e4c236357bc3bf984757438aa8ff764.tar.gz flashrom-16ce40ec4e4c236357bc3bf984757438aa8ff764.tar.bz2 flashrom-16ce40ec4e4c236357bc3bf984757438aa8ff764.zip |
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 <roysjosh@gmail.com> for the hint on IRC.
Corresponding to flashrom svn r1190.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'ft2232_spi.c')
-rw-r--r-- | ft2232_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ft2232_spi.c b/ft2232_spi.c index 0ffe1ce09..30eff4285 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"); } |