This is an automated email from Gerrit.

"Nishanth Menon <n...@ti.com>" just uploaded a new patch set to Gerrit, which 
you can find at https://review.openocd.org/c/openocd/+/7896

-- gerrit

commit 3c655247e0553d51510c14e8c58ddea05ba65079
Author: Dubravko Srsan <dubravko.sr...@dolotron.com>
Date:   Wed Sep 13 14:02:09 2023 -0500

    tcl/target/ti_k3: Fix smp target description
    
    When _v8_smp_targets is used with V8_SMP_DEBUG=1, use eval to force
    the expansion of all the variables set previously.
    
    Change-Id: Iffe5fd2703bed6a9c840284285e70b8a8ce84e17
    Signed-off-by: Dubravko Srsan <dubravko.sr...@dolotron.com>
    Signed-off-by: Nishanth Menon <n...@ti.com>

diff --git a/tcl/target/ti_k3.cfg b/tcl/target/ti_k3.cfg
index f0881cdff7..d725f77658 100644
--- a/tcl/target/ti_k3.cfg
+++ b/tcl/target/ti_k3.cfg
@@ -259,7 +259,7 @@ proc _armv8_smp_up {} {
        targets $::_TARGETNAME.$::_armv8_cpu_name.0
 }
 
-set _v8_smp_targets ""
+set _v8_smp_targets "target smp"
 
 for { set _core 0 } { $_core < $_armv8_cores } { incr _core } {
 
@@ -303,7 +303,7 @@ if { $_v8_smp_debug == 0 } {
                _armv8_smp_up
        }
        # Declare SMP
-       target smp $:::_v8_smp_targets
+       eval $:::_v8_smp_targets
 }
 
 for { set _core 0 } { $_core < $_r5_cores } { incr _core } {

-- 

Reply via email to