]> git.gag.com Git - fw/openocd/blobdiff - tcl/target/feroceon.cfg
David Brownell <david-b@pacbell.net> "set _TARGETNAME ..." cleanup
[fw/openocd] / tcl / target / feroceon.cfg
index 552831a8448e53ce915ef75c1a2a12ee59f86f9f..25d1d13335e5c7608e6178585438ef847ca919c1 100644 (file)
@@ -21,7 +21,8 @@ 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 feroceon -endian $_ENDIAN -chain-position $_TARGETNAME
 
 reset_config trst_and_srst