arm_cti: add cti command group
[fw/openocd] / tcl / target / marvell / 88f37x0.cfg
index dba7da21e8e46507a00f0e40703833a536648433..c7007dd48ad9bd79b996f586b4308c3ea8f7c631 100644 (file)
@@ -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