tcl/target: add SPDX tag
[fw/openocd] / tcl / target / rk3308.cfg
index b55109312c8aa59f6fa197e326ae6f4a67dcdb67..b6086f1701d4c9cffdaf00348cead8a9456c5062 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # Rockchip RK3308 Target
 # https://rockchip.fr/RK3308%20datasheet%20V1.5.pdf
 # https://dl.radxa.com/rockpis/docs/hw/datasheets/Rockchip%20RK3308TRM%20V1.1%20Part1-20180810.pdf
@@ -28,7 +30,7 @@ swd newdap $_CHIPNAME cpu -expected-id $_DAP_TAPID -ignore-version
 dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
 target create $_CHIPNAME.ahb mem_ap -dap $_CHIPNAME.dap -ap-num 0
 
-# declare the 8 main application cores
+# declare the 4 main application cores
 set _TARGETNAME $_CHIPNAME.core
 set _smp_command ""
 
@@ -53,6 +55,7 @@ for { set _core 0 } { $_core < $_cores } { incr _core 1 } {
 
     if { $_core != 0 } {
         set _smp_command "$_smp_command ${_TARGETNAME}$_core"
+        set _command "$_command -defer-examine"
     } else {
         # uncomment to use hardware threads pseudo rtos
         # set _command "$_command -rtos hwthread"