]> git.gag.com Git - fw/openocd/blobdiff - tcl/target/sharp_lh79532.cfg
David Brownell <david-b@pacbell.net> "set _TARGETNAME ..." cleanup
[fw/openocd] / tcl / target / sharp_lh79532.cfg
index a239e3c5fac24aef8ffe446354f282ee4d29f35d..c04b8167b7509ab624d843f5165587a8063dcce1 100644 (file)
@@ -20,7 +20,7 @@ if { [info exists CPUTAPID ] } {
 }
 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
 
-set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
+set _TARGETNAME $_CHIPNAME.cpu
 target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME