diff options
author | uwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-10-05 21:21:09 +0000 |
---|---|---|
committer | uwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-10-05 21:21:09 +0000 |
commit | 75e2fa7f26515573b13acb48a047e75dd3307a10 (patch) | |
tree | fbfb6428bc8b4f2bc3347025f060d0fe2e7fe3f2 /ft2232_spi.c | |
parent | 68418b34703f025f71557e50f1fd55ba644ed872 (diff) | |
download | flashrom-75e2fa7f26515573b13acb48a047e75dd3307a10.tar.gz |
Quickfix 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.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1190 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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 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"); } |