path: root/spi.h
diff options
authorCarl-Daniel Hailfinger <>2010-07-29 16:24:09 +0000
committerCarl-Daniel Hailfinger <>2010-07-29 16:24:09 +0000
commit04e18bea9fb28f64825b1c1edd28aeae9cb6919a (patch)
tree8210f5452bb94ba4225c958302ba954e126f643f /spi.h
parent6529b9fdc2340d7cfee198eea77f38424acaef86 (diff)
Speed up Bus Pirate by exploiting the FTDI FIFO
If we violate the raw SPI communication protocol requirements of the Bus Pirate (namely, waiting for the completion of one command before sending the next one), we can reduce the number of round trips by a factor of 3. The FT2232 chip present in the Bus Pirate has a big enough buffer (at least 128 bytes IIRC) to avoid overflows in the tiny buffer of the Bus Pirate PIC. Thanks to Daniel Flinkmann for sponsoring development of this patch. Corresponding to flashrom svn r1120. Signed-off-by: Carl-Daniel Hailfinger <> Tested-by: Daniel Flinkmann <> Acked-by: Daniel Flinkmann <>
Diffstat (limited to 'spi.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud