tcl/board: Add AM625 EVM basic support
[fw/openocd] / tcl / target / u8500.cfg
index 15bacf308a962c9fbcb684bd688de59a18553792..5aee13541b9e21e1ec0fe616ad1df9c48f9e606b 100644 (file)
@@ -18,12 +18,12 @@ proc ocd_gdb_restart {target_id} {
     global _TARGETNAME_1
        global _SMP
     targets $_TARGETNAME_1
-       if { [expr ($_SMP == 1)] } {
+       if { $_SMP == 1 } {
        cortex_a smp off
        }
        rst_run
        halt
-       if { [expr ($_SMP == 1)]} {
+       if { $_SMP == 1 } {
        cortex_a smp on
        }
 }