From 2b17a128841c9431f17aaad844f416eccd24f63f Mon Sep 17 00:00:00 2001 From: Nishanth Menon Date: Mon, 4 Oct 2021 08:34:42 -0500 Subject: [PATCH] tcl/target/ti_k3: Remove args from m3 and m4_up args serve no purpose, so drop them. Signed-off-by: Nishanth Menon Change-Id: I136394307016453d576cf524b0f02227ba26ef8a Reviewed-on: https://review.openocd.org/c/openocd/+/6626 Tested-by: jenkins Reviewed-by: Antonio Borneo --- tcl/target/ti_k3.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcl/target/ti_k3.cfg b/tcl/target/ti_k3.cfg index d2aa53160..325ee0004 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 -- 2.30.2