summaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-10 09:25:26 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-10 09:25:26 -0800
commit6881c1b6d686c91a8cd604bdcd6098ab62d4dcb9 (patch)
treebac1ae421726a589ae26d22a10ce26f75719a74a /tcl
parent85944d4144a1df0647e4324d1cf8ae9a276b70e5 (diff)
downloadopenocd+libswd-6881c1b6d686c91a8cd604bdcd6098ab62d4dcb9.tar.gz
openocd+libswd-6881c1b6d686c91a8cd604bdcd6098ab62d4dcb9.tar.bz2
openocd+libswd-6881c1b6d686c91a8cd604bdcd6098ab62d4dcb9.tar.xz
openocd+libswd-6881c1b6d686c91a8cd604bdcd6098ab62d4dcb9.zip
target.cfg: (re)move some bogus reset_config lines
General rule, this is all board-specific and doesn't belong in target config files. Some of these were just cosmetic. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/atmel_sam3u_ek.cfg3
-rw-r--r--tcl/target/aduc702x.cfg9
-rw-r--r--tcl/target/at91sam3uXX.cfg2
-rw-r--r--tcl/target/str730.cfg1
-rw-r--r--tcl/target/str750.cfg1
5 files changed, 3 insertions, 13 deletions
diff --git a/tcl/board/atmel_sam3u_ek.cfg b/tcl/board/atmel_sam3u_ek.cfg
index f7501d00..13d930b1 100644
--- a/tcl/board/atmel_sam3u_ek.cfg
+++ b/tcl/board/atmel_sam3u_ek.cfg
@@ -1 +1,4 @@
source [find target/at91sam3u4e.cfg]
+
+reset_config srst_only
+
diff --git a/tcl/target/aduc702x.cfg b/tcl/target/aduc702x.cfg
index f7c5ee43..b60c9679 100644
--- a/tcl/target/aduc702x.cfg
+++ b/tcl/target/aduc702x.cfg
@@ -1,7 +1,3 @@
-## -*- tcl -*-
-##
-
-
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
@@ -21,14 +17,9 @@ if { [info exists CPUTAPID] } {
set _CPUTAPID 0x3f0f0f0f
}
-
jtag_nsrst_delay 200
jtag_ntrst_delay 200
-# This is for the case that TRST/SRST is not wired on your JTAG adaptor.
-# Don't really need them anyways.
-reset_config none
-
## JTAG scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
diff --git a/tcl/target/at91sam3uXX.cfg b/tcl/target/at91sam3uXX.cfg
index 985e052a..b948c64a 100644
--- a/tcl/target/at91sam3uXX.cfg
+++ b/tcl/target/at91sam3uXX.cfg
@@ -35,8 +35,6 @@ target create $_TARGETNAME cortex_m3 -endian $_ENDIAN -chain-position $_TARGETNA
# 16K is plenty, the smallest chip has this much
$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 16384 -work-area-backup 0
-reset_config srst_only
-
$_TARGETNAME configure -event gdb-flash-erase-start {
halt
}
diff --git a/tcl/target/str730.cfg b/tcl/target/str730.cfg
index fe70802b..c98d56c8 100644
--- a/tcl/target/str730.cfg
+++ b/tcl/target/str730.cfg
@@ -21,7 +21,6 @@ if { [info exists CPUTAPID] } {
}
#use combined on interfaces or targets that can't set TRST/SRST separately
-#reset_config trst_and_srst srst_pulls_trst
reset_config trst_and_srst srst_pulls_trst
#jtag scan chain
diff --git a/tcl/target/str750.cfg b/tcl/target/str750.cfg
index 22d87f87..5439c335 100644
--- a/tcl/target/str750.cfg
+++ b/tcl/target/str750.cfg
@@ -22,7 +22,6 @@ if { [info exists CPUTAPID] } {
jtag_khz 10
#use combined on interfaces or targets that can't set TRST/SRST separately
-#reset_config trst_and_srst srst_pulls_trst
reset_config trst_and_srst srst_pulls_trst
#jtag scan chain