David Brownell <david-b@pacbell.net> "set _TARGETNAME ..." cleanup
[fw/openocd] / tcl / target / imx21.cfg
index 3a02cac6c87bcefe03c96cdc15edd18036d89011..6644ce551911989252f8a697b3a7aaaa11fd74ee 100644 (file)
@@ -28,7 +28,7 @@ jtag newtap $_CHIPNAME cpu  -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_C
 
 
 # Create the GDB Target.
-set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
+set _TARGETNAME $_CHIPNAME.cpu
 target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm926ejs
 
 arm7_9 dcc_downloads enable