Auto-select JTAG transport when appropriate
authorPaul Fertser <fercerpav@gmail.com>
Thu, 19 Jun 2014 10:21:21 +0000 (14:21 +0400)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 28 Jun 2014 09:35:38 +0000 (09:35 +0000)
commit335bafbb2561d92d1631050e6aa3c4ab93e3644e
treefd43eebc3a6365519ed99757f26954df6029995e
parent12e9f6292b391d475214704843504c5817bf783e
Auto-select JTAG transport when appropriate

I looked through all the target configs after stripping comments and
such from them with sed to see what jtag-specific commands can appear
first, and it looks like all the meaningful combinations should be
covered.

Change-Id: I8d543407b7f4ac8aca7354ecd50e841c8a04d5f3
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2179
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/jtag/startup.tcl
tcl/target/swj-dp.tcl