aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/icepick.cfg
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-03-19 13:16:40 -0500
committerPaul Fertser <fercerpav@gmail.com>2015-04-14 11:22:47 +0100
commitc32f81f7186ac825652df4226646b3505b01f940 (patch)
tree75116d8b7ccdf17c7d9d2f7a6ffdbfdabc1266ca /tcl/target/icepick.cfg
parentb6cb48c212680b8b8598227f4e3bab6c6b5a4cd4 (diff)
downloadriscv-openocd-c32f81f7186ac825652df4226646b3505b01f940.zip
riscv-openocd-c32f81f7186ac825652df4226646b3505b01f940.tar.gz
riscv-openocd-c32f81f7186ac825652df4226646b3505b01f940.tar.bz2
target: icepick: call icepick_c_setup
it also works on icepick_d. Change-Id: I50c0c81286aae673c94ea77e47454ff48eab1668 Signed-off-by: Felipe Balbi <balbi@ti.com> Reviewed-on: http://openocd.zylin.com/2623 Tested-by: jenkins Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'tcl/target/icepick.cfg')
-rw-r--r--tcl/target/icepick.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcl/target/icepick.cfg b/tcl/target/icepick.cfg
index 3a0afde..36ffc02 100644
--- a/tcl/target/icepick.cfg
+++ b/tcl/target/icepick.cfg
@@ -114,6 +114,7 @@ proc icepick_c_tapenable {jrc port} {
proc icepick_d_tapenable {jrc port} {
# First CONNECT to the ICEPick
icepick_c_connect $jrc
+ icepick_c_setup $jrc
# Select the port
icepick_c_router $jrc 1 0x2 $port 0x2108