David Brownell <david-b@pacbell.net> "set _TARGETNAME ..." cleanup
[fw/openocd] / tcl / target / test_reset_syntax_error.cfg
index e573c1c0a46dc9b9c41b6eb0e815a0625b937ffe..f2949e14e30c07132189a7001351899d98bf71f2 100644 (file)
@@ -8,7 +8,7 @@ set _CHIPNAME syntaxtest
 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf 
 
 #target configuration
-set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
+set _TARGETNAME $_CHIPNAME.cpu
 target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm7tdmi-s_r4
 
 $_TARGETNAME configure -event reset-init {