summaryrefslogtreecommitdiffstats
path: root/spi.h
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-07-29 16:24:09 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-07-29 16:24:09 +0000
commit04e18bea9fb28f64825b1c1edd28aeae9cb6919a (patch)
tree8210f5452bb94ba4225c958302ba954e126f643f /spi.h
parent6529b9fdc2340d7cfee198eea77f38424acaef86 (diff)
downloadast2050-flashrom-04e18bea9fb28f64825b1c1edd28aeae9cb6919a.zip
ast2050-flashrom-04e18bea9fb28f64825b1c1edd28aeae9cb6919a.tar.gz
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 <c-d.hailfinger.devel.2006@gmx.net> Tested-by: Daniel Flinkmann <DFlinkmann@gmx.de> Acked-by: Daniel Flinkmann <dflinkmann@gmx.de>
Diffstat (limited to 'spi.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud