]> git.gag.com Git - fw/openocd/blobdiff - tcl/target/samsung_s3c4510.cfg
David Brownell <david-b@pacbell.net> "set _TARGETNAME ..." cleanup
[fw/openocd] / tcl / target / samsung_s3c4510.cfg
index 65e7fd8429b3625ce34895b84280482a57f1e972..b594e32955254ca51b2188f4c815c8227f1bdf10 100644 (file)
@@ -20,6 +20,6 @@ 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 arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME