]> git.gag.com Git - fw/openocd/commitdiff
target.cfg: (re)move some bogus reset_config lines
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 10 Nov 2009 17:25:26 +0000 (09:25 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 10 Nov 2009 17:25:26 +0000 (09:25 -0800)
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>
tcl/board/atmel_sam3u_ek.cfg
tcl/target/aduc702x.cfg
tcl/target/at91sam3uXX.cfg
tcl/target/str730.cfg
tcl/target/str750.cfg

index f7501d000fd7f2f2e4fdbe6636003d2a2e8c484a..13d930b1d09fcf4ab254d23cfb7be55f8229b3a1 100644 (file)
@@ -1 +1,4 @@
 source [find target/at91sam3u4e.cfg]
 source [find target/at91sam3u4e.cfg]
+
+reset_config srst_only
+
index f7c5ee434278cef78a462b8aa6415cdf4170bbe1..b60c9679bbe11a053e4bdca803e565fd0edfc253 100644 (file)
@@ -1,7 +1,3 @@
-## -*- tcl -*-
-##
-
-
 if { [info exists CHIPNAME] } {
    set  _CHIPNAME $CHIPNAME
 } else {
 if { [info exists CHIPNAME] } {
    set  _CHIPNAME $CHIPNAME
 } else {
@@ -21,14 +17,9 @@ if { [info exists CPUTAPID] } {
    set  _CPUTAPID 0x3f0f0f0f
 }
 
    set  _CPUTAPID 0x3f0f0f0f
 }
 
-
 jtag_nsrst_delay 200
 jtag_ntrst_delay 200
 
 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
 ## 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
index 985e052ae74aa3259b6c5a35ba8627386c30a132..b948c64a8ad0c3b8d3a1e58cede0aff855dbcad2 100644 (file)
@@ -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
 
 # 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
 }
 $_TARGETNAME configure -event gdb-flash-erase-start {
     halt
 }
index fe70802b944a1b748c68e694184140e108ac5f94..c98d56c818460374bb505fae783432d6a7314d71 100644 (file)
@@ -21,7 +21,6 @@ if { [info exists CPUTAPID] } {
 }
 
 #use combined on interfaces or targets that can't set TRST/SRST separately
 }
 
 #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
 reset_config trst_and_srst srst_pulls_trst
 
 #jtag scan chain
index 22d87f87d181e3bff5d0f72f9acd7797a65f1c66..5439c3351df180c40dfabf859e247a5d2be56729 100644 (file)
@@ -22,7 +22,6 @@ if { [info exists CPUTAPID] } {
 jtag_khz 10
 
 #use combined on interfaces or targets that can't set TRST/SRST separately
 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
 reset_config trst_and_srst srst_pulls_trst
 
 #jtag scan chain