more tcl/{board,target} cleanup
[fw/openocd] / tcl / target / lpc2900.cfg
index 2371dd7aac82c102e38add819e8b5863ab81c73d..769d39d4e753082053c7aedafbae84bd5502c166 100644 (file)
@@ -29,7 +29,7 @@ if { [info exists ETBTAPID ] } {
 reset_config trst_and_srst separate
 
 # Define the _TARGETNAME
-set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
+set _TARGETNAME $_CHIPNAME.cpu
 
 # Include the ETB tap controller if asked for.
 # Has to be done manually for newer devices (not an "old" LPC2917/2919).