David Brownell <david-b@pacbell.net> "set _TARGETNAME ..." cleanup
[fw/openocd] / tcl / target / smp8634.cfg
index c1d61882207848b357c2587fa6251a9892ae746e..b6b037aa1eac73d6d0a7003f4a85febbee5f2cd8 100644 (file)
@@ -28,5 +28,5 @@ reset_config trst_and_srst separate
 # format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
 jtag newtap $_CHIPNAME cpu -irlen 5  -ircapture 0x1 -irmask 0x1
 
-set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
+set _TARGETNAME $_CHIPNAME.cpu
 target create $_TARGETNAME mips_m4k -endian $_ENDIAN -variant