drivers/am335xgpio: Migrate to adapter gpio commands
[fw/openocd] / tcl / target / fm4_s6e2cc.cfg
index 60b73b9747feb35fb47186387f3ff1fe41a3116b..7417d386f4aebc52b030ee38bcbd83eeaf67ac82 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #
 # Spansion FM4 S6E2CC (ARM Cortex-M4)
 #
@@ -11,7 +13,7 @@ if { [info exists WORKAREASIZE] } {
        set _WORKAREASIZE 0x18000
 }
 
-$_TARGETNAME configure -work-area-phys [expr 0x20000000 - $_WORKAREASIZE] \
+$_TARGETNAME configure -work-area-phys [expr {0x20000000 - $_WORKAREASIZE}] \
                        -work-area-size $_WORKAREASIZE -work-area-backup 0
 
 set _FLASHNAME $_CHIPNAME.flash