]> git.gag.com Git - fw/openocd/blobdiff - tcl/target/c100.cfg
more tcl/{board,target} cleanup
[fw/openocd] / tcl / target / c100.cfg
index a0a28d80a2d4f0603612a06f805e77b9e22dc623..b175f23f4f2777e14a406602a6519567672715da 100644 (file)
@@ -35,7 +35,7 @@ jtag newtap $_CHIPNAME dsp -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_D
 # Per ARM: DDI0211J_arm1136_r1p5_trm.pdf - the ARM 1136 as a 5 bit IR register
 jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_CPUTAPID
 
-set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
+set _TARGETNAME $_CHIPNAME.cpu
 target create $_TARGETNAME arm11 -endian $_ENDIAN -chain-position $_TARGETNAME
 
 # C100's ARAM 64k SRAM