diff options
author | Steve Markgraf <steve@steve-m.de> | 2011-08-12 01:19:32 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-08-12 01:19:32 +0000 |
commit | ec45370c468263bbbe8b2065b6d27101d65f6d9c (patch) | |
tree | dd0dfd3a8cee05c22e09b94e670390b8c307b61d /ft2232_spi.c | |
parent | dbfde872f853ad0c7dce28c6d6935941f12dfde9 (diff) | |
download | flashrom-ec45370c468263bbbe8b2065b6d27101d65f6d9c.zip flashrom-ec45370c468263bbbe8b2065b6d27101d65f6d9c.tar.gz |
ft2232_spi: add support for the Dangerous Prototypes Bus Blaster
Add support for the Dangerous Prototypes Bus Blaster (v1/v2).
The new model is called "busblaster".
So far only v2 has been tested, but since both v1 and v2
emulate a Amontec JTAGKEY in the default configuration,
it is assumed that v1 should work fine as well.
Information about the Busblaster can be found at:
http://dangerousprototypes.com/docs/Bus_Blaster
Corresponding to flashrom svn r1412.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'ft2232_spi.c')
-rw-r--r-- | ft2232_spi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ft2232_spi.c b/ft2232_spi.c index 689f276..cb247fa 100644 --- a/ft2232_spi.c +++ b/ft2232_spi.c @@ -173,6 +173,12 @@ int ft2232_spi_init(void) ft2232_interface = INTERFACE_A; cs_bits = 0x18; pindir = 0x1b; + } else if (!strcasecmp(arg, "busblaster")) { + /* In its default configuration it is a jtagkey clone */ + ft2232_type = FTDI_FT2232H_PID; + ft2232_interface = INTERFACE_A; + cs_bits = 0x18; + pindir = 0x1b; } else if (!strcasecmp(arg, "openmoko")) { ft2232_vid = FIC_VID; ft2232_type = OPENMOKO_DBGBOARD_PID; |