summaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-07-29 15:54:53 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-07-29 15:54:53 +0000
commit503044eb9d8a4d97edc376df060b0b2e05e0d30b (patch)
treea3a6767ea99a4711985bdf06d2b4424005ce88e8 /print.c
parent038087704a35b459948a165ae84e129c1adac8e5 (diff)
downloadflashrom-503044eb9d8a4d97edc376df060b0b2e05e0d30b.zip
flashrom-503044eb9d8a4d97edc376df060b0b2e05e0d30b.tar.gz
Add support for the Amontec JTAGkey2, see http://www.amontec.com/jtagkey2.shtml
http://www.amontec.com/jtagkey.shtml This FTDI 2232H variant has an additional output enable, which will be set to its "on" (L) when CS is pulled low. But it lacks a power supply and you need an external 3.3V source. The attached patch adds "jtagkey" as "type" parameter for ft2232_spi. It should work with all JTAGkeys (JTAGkey, JTAGkey-tiny and JTAGkey2) but I only have a JTAGkey2 here for testing. Add all FT2232H/FT4232H based programmers to the list printed with flashrom -L Binary file (standard input) matches Corresponding to flashrom svn r1119.
Diffstat (limited to 'print.c')
-rw-r--r--print.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/print.c b/print.c
index 14aa489..5504880 100644
--- a/print.c
+++ b/print.c
@@ -255,6 +255,15 @@ void print_supported(void)
#if CONFIG_ATAHPT == 1
print_supported_pcidevs(ata_hpt);
#endif
+
+#if CONFIG_FT2232_SPI+CONFIG_DEDIPROG >= 1
+ printf("\nSupported USB devices flashrom can use "
+ "as programmer:\n\n");
+#endif
+
+#if CONFIG_FT2232_SPI == 1
+ print_supported_usbdevs(devs_ft2232spi);
+#endif
}
#if CONFIG_INTERNAL == 1
OpenPOWER on IntegriCloud