aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/am335x.cfg
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-03-19 14:59:22 -0500
committerPaul Fertser <fercerpav@gmail.com>2015-04-14 11:23:56 +0100
commitb1f3e89970f352d5b340f80a216dcef65691bc58 (patch)
tree63828e662279e484aa325459f12c0adf5bc47536 /tcl/target/am335x.cfg
parentc32f81f7186ac825652df4226646b3505b01f940 (diff)
tcl: icepick: add icepick_d_set_coreid
this is just to avoid open coding that in icepick_d_tapenable. Cleanup only, no functional changes. Change-Id: Iabd20291b7bdd95957afa1c74f52171789201227 Signed-off-by: Felipe Balbi <balbi@ti.com> Reviewed-on: http://openocd.zylin.com/2624 Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'tcl/target/am335x.cfg')
-rw-r--r--tcl/target/am335x.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/target/am335x.cfg b/tcl/target/am335x.cfg
index ff92b5bf..e20c6f30 100644
--- a/tcl/target/am335x.cfg
+++ b/tcl/target/am335x.cfg
@@ -15,7 +15,7 @@ if { [info exists M3_DAP_TAPID] } {
set _M3_DAP_TAPID 0x4b6b902f
}
jtag newtap $_CHIPNAME m3_dap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_M3_DAP_TAPID -disable
-jtag configure $_CHIPNAME.m3_dap -event tap-enable "icepick_d_tapenable $_CHIPNAME.jrc 11"
+jtag configure $_CHIPNAME.m3_dap -event tap-enable "icepick_d_tapenable $_CHIPNAME.jrc 11 0"
#
# Main DAP
@@ -26,7 +26,7 @@ if { [info exists DAP_TAPID] } {
set _DAP_TAPID 0x4b6b902f
}
jtag newtap $_CHIPNAME dap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_DAP_TAPID -disable
-jtag configure $_CHIPNAME.dap -event tap-enable "icepick_d_tapenable $_CHIPNAME.jrc 12"
+jtag configure $_CHIPNAME.dap -event tap-enable "icepick_d_tapenable $_CHIPNAME.jrc 12 0"
#
# ICEpick-D (JTAG route controller)