aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2021-10-04 08:34:42 -0500
committerAntonio Borneo <borneo.antonio@gmail.com>2022-03-12 09:39:03 +0000
commit2b17a128841c9431f17aaad844f416eccd24f63f (patch)
tree1d1b66a9903c611718a8773f7a8c79169c42226b /tcl
parent4906176c77d70e89a7e1f7da54e4088c5966207f (diff)
downloadriscv-openocd-2b17a128841c9431f17aaad844f416eccd24f63f.zip
riscv-openocd-2b17a128841c9431f17aaad844f416eccd24f63f.tar.gz
riscv-openocd-2b17a128841c9431f17aaad844f416eccd24f63f.tar.bz2
tcl/target/ti_k3: Remove args from m3 and m4_up
args serve no purpose, so drop them. Signed-off-by: Nishanth Menon <nm@ti.com> Change-Id: I136394307016453d576cf524b0f02227ba26ef8a Reviewed-on: https://review.openocd.org/c/openocd/+/6626 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/target/ti_k3.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/target/ti_k3.cfg b/tcl/target/ti_k3.cfg
index d2aa531..325ee00 100644
--- a/tcl/target/ti_k3.cfg
+++ b/tcl/target/ti_k3.cfg
@@ -152,7 +152,7 @@ cti create $_CTINAME.m3 -dap $_CHIPNAME.dap -ap-num 7 -baseaddr [lindex $CM3_CTI
target create $_TARGETNAME.m3 cortex_m -dap $_CHIPNAME.dap -ap-num 7 -defer-examine
$_TARGETNAME.m3 configure -event reset-assert { }
-proc m3_up { args } {
+proc m3_up {} {
# To access M3, we need to enable the JTAG access for the same.
# Ensure Power-AP unlocked
$::_CHIPNAME.dap apreg 3 [lindex $::_m3_ap_unlock_offsets 0] 0x00190000
@@ -245,7 +245,7 @@ if { $_mcu_m4_cores != 0 } {
target create $_TARGETNAME.m4 cortex_m -dap $_CHIPNAME.dap -ap-num 8 -defer-examine
$_TARGETNAME.m4 configure -event reset-assert { }
- proc m4_up { args } {
+ proc m4_up {} {
# To access M4, we need to enable the JTAG access for the same.
# Ensure Power-AP unlocked
$::_CHIPNAME.dap apreg 3 [lindex $::_m4_ap_unlock_offsets 0] 0x00190000