Author: uwe Date: Tue Oct 5 23:21:09 2010 New Revision: 1190 URL: http://flashrom.org/trac/flashrom/changeset/1190
Log: 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 <[email protected]> for the hint on IRC. Signed-off-by: Uwe Hermann <[email protected]> Acked-by: Carl-Daniel Hailfinger <[email protected]> Modified: trunk/ft2232_spi.c 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"); } _______________________________________________ flashrom mailing list [email protected] http://www.flashrom.org/mailman/listinfo/flashrom
