From patchwork Wed Sep 1 22:25:30 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Quickfix for broken writes on FT2232H based programmers Date: Wed, 01 Sep 2010 21:25:30 -0000 From: Uwe Hermann X-Patchwork-Id: 1851 Message-Id: <20100901222530.GA17529@greenwood> To: flashrom@flashrom.org See patch. Uwe. Acked-by: Carl-Daniel Hailfinger 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 for the hint on IRC. Signed-off-by: Uwe Hermann Index: ft2232_spi.c =================================================================== --- ft2232_spi.c (Revision 1146) +++ ft2232_spi.c (Arbeitskopie) @@ -195,7 +195,7 @@ 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"); }