[flashrom] [commit] r1190 - trunk

repository service svn at flashrom.org
Tue Oct 5 23:21:10 CEST 2010

Author: uwe
Date: Tue Oct  5 23:21:09 2010
New Revision: 1190
URL: http://flashrom.org/trac/flashrom/changeset/1190

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 at gmail.com> for the hint on IRC.

Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>


Modified: trunk/ft2232_spi.c
--- trunk/ft2232_spi.c	Tue Oct  5 22:28:36 2010	(r1189)
+++ trunk/ft2232_spi.c	Tue Oct  5 23:21:09 2010	(r1190)
@@ -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");

More information about the flashrom mailing list