summaryrefslogtreecommitdiffstats
path: root/ichspi.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-11-24 18:27:10 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-11-24 18:27:10 +0000
commitd5b28fae1da48233753a19d3fa007c204786ec8c (patch)
tree55b9f4704024f1e845fc1c8df44a2b1bd97d6884 /ichspi.c
parentd70b09ca13f118af02078e5fcd336b9f83c7565a (diff)
downloadast2050-flashrom-d5b28fae1da48233753a19d3fa007c204786ec8c.zip
ast2050-flashrom-d5b28fae1da48233753a19d3fa007c204786ec8c.tar.gz
Add the ability to set Bus Pirate SPI speed via the command line
Example usage: flashrom -p buspiratespi:spispeed=2.6MHz,dev=/dev/foo flashrom -p buspiratespi:dev=/dev/foo,spispeed=2.6M Refactor programmer option parsing (this allows cleanups in other programmers as well). Increase SPI read size from 8 to 12 bytes (current single-transaction limit of the Bus Pirate raw SPI protocol). Add Bus Pirate to the list of programmers supporting 4 byte RDID. Add Bus Pirate syntax to the man page. Tested-by: Sean Nelson <audiohacked@gmail.com> Corresponding to flashrom svn r776. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Sean Nelson <audiohacked@gmail.com>
Diffstat (limited to 'ichspi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud