summaryrefslogtreecommitdiff
path: root/tcl/board
diff options
context:
space:
mode:
authorMarc Pignat <marc.pignat@hevs.ch>2010-05-18 11:38:01 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-05-18 11:48:47 +0200
commite92b203a768731fdbc1499c59b0a60e1a2b290a7 (patch)
tree023421f5bc51b7d00a78717293d7fcdc29bd72d1 /tcl/board
parentdc464ad88e7b7c5e0014a1784edcdb2fdcb448fd (diff)
downloadopenocd+libswd-e92b203a768731fdbc1499c59b0a60e1a2b290a7.tar.gz
openocd+libswd-e92b203a768731fdbc1499c59b0a60e1a2b290a7.tar.bz2
openocd+libswd-e92b203a768731fdbc1499c59b0a60e1a2b290a7.tar.xz
openocd+libswd-e92b203a768731fdbc1499c59b0a60e1a2b290a7.zip
at91rm9200 : reset_config should go to the board config file
Let other boards do other things with srst and trst. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'tcl/board')
-rw-r--r--tcl/board/at91rm9200-dk.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcl/board/at91rm9200-dk.cfg b/tcl/board/at91rm9200-dk.cfg
index 402ed050..f484fded 100644
--- a/tcl/board/at91rm9200-dk.cfg
+++ b/tcl/board/at91rm9200-dk.cfg
@@ -5,6 +5,9 @@
#
# It has atmel at91rm9200 chip.
source [find target/at91rm9200.cfg]
+
+reset_config trst_and_srst
+
$_TARGETNAME configure -event gdb-attach { reset init }
$_TARGETNAME configure -event reset-init { at91rm9200_dk_init }