summaryrefslogtreecommitdiff
path: root/tcl/target/samsung_s3c2450.cfg
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-09-04 05:17:03 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-09-04 05:17:03 +0000
commitce89c7bf6588c7b2800c4ca453278b6f94795130 (patch)
treed839ec4ca9eaa16fa3e306b4efb70789cb938d24 /tcl/target/samsung_s3c2450.cfg
parent76b78feef1f0181bbcc388f21d185d0b4fa83cfb (diff)
downloadopenocd_libswd-ce89c7bf6588c7b2800c4ca453278b6f94795130.tar.gz
openocd_libswd-ce89c7bf6588c7b2800c4ca453278b6f94795130.tar.bz2
openocd_libswd-ce89c7bf6588c7b2800c4ca453278b6f94795130.tar.xz
openocd_libswd-ce89c7bf6588c7b2800c4ca453278b6f94795130.zip
David Brownell <david-b@pacbell.net> "set _TARGETNAME ..." cleanup
git-svn-id: svn://svn.berlios.de/openocd/trunk@2665 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'tcl/target/samsung_s3c2450.cfg')
-rw-r--r--tcl/target/samsung_s3c2450.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/target/samsung_s3c2450.cfg b/tcl/target/samsung_s3c2450.cfg
index f7b73930..ec77291d 100644
--- a/tcl/target/samsung_s3c2450.cfg
+++ b/tcl/target/samsung_s3c2450.cfg
@@ -36,7 +36,7 @@ if { [info exists CPUTAPID ] } {
#jtag scan chain
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0xE -irmask 0x0f -expected-id $_CPUTAPID
-set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
+set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm926ejs
# FIX!!!!! should this really use srst_pulls_trst?
@@ -46,4 +46,4 @@ target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNA
# However, without "srst_pulls_trst", then "reset halt" produces weird
# errors:
# WARNING: unknown debug reason: 0x0
-reset_config trst_and_srst \ No newline at end of file
+reset_config trst_and_srst