]> git.gag.com Git - fw/openocd/blobdiff - tcl/target/pxa270.cfg
David Brownell <david-b@pacbell.net> "set _TARGETNAME ..." cleanup
[fw/openocd] / tcl / target / pxa270.cfg
index 34bb60d4d6c674241a01dca415300d3a0561c09f..6f209f8992580bcda3744e02011f9cca37ad98e7 100644 (file)
@@ -30,7 +30,7 @@ jtag_nsrst_delay 260
 # the rest of the needed delays are built into the openocd program
 jtag_ntrst_delay 0
 
-set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
+set _TARGETNAME $_CHIPNAME.cpu
 jtag newtap $_CHIPNAME cpu -irlen 7 -ircapture 0x1 -irmask 0x7f -expected-id $_CPUTAPID
 
 target create $_TARGETNAME xscale -endian $_ENDIAN -chain-position $_TARGETNAME -variant pxa27x