aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/marvell
diff options
context:
space:
mode:
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>2017-04-10 22:53:27 +0200
committerMatthias Welwarsky <matthias@welwarsky.de>2018-03-30 09:48:03 +0100
commitf444c57bf2d692171b7b50a6ce477265f951f77e (patch)
tree72b214a4fc6c15470c4a675cae654c3265b3d349 /tcl/target/marvell
parent1756f393e45c2a23dd29ff8bc85d188b547624f9 (diff)
arm_cti: add cti command group
Extend the CTI abstraction to be accessible from TCL and change the 'target' command to accept a cti 'object' instead of a base address. This also allows accessing CTI instances that are not related to a configured target. Change-Id: Iac9ed0edca6f1be00fe93783a35c26077f6bc80a Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com> Reviewed-on: http://openocd.zylin.com/4031 Tested-by: jenkins Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Diffstat (limited to 'tcl/target/marvell')
-rw-r--r--tcl/target/marvell/88f37x0.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/tcl/target/marvell/88f37x0.cfg b/tcl/target/marvell/88f37x0.cfg
index dba7da21..c7007dd4 100644
--- a/tcl/target/marvell/88f37x0.cfg
+++ b/tcl/target/marvell/88f37x0.cfg
@@ -43,9 +43,11 @@ set _smp_command ""
for { set _core 0 } { $_core < $_cores } { incr _core 1 } {
+ cti create cti$_core -chain-position $_CHIPNAME.dap -ctibase [lindex $_ctis $_core] -ap-num 0
+
set _command "target create ${_TARGETNAME}$_core aarch64 \
-chain-position $_CHIPNAME.dap -coreid $_core \
- -ctibase [lindex $_ctis $_core]"
+ -cti cti$_core"
if { $_core != 0 } {
# non-boot core examination may fail