at91rm9200 : reset_config should go to the board config file
authorMarc Pignat <marc.pignat@hevs.ch>
Tue, 18 May 2010 09:38:01 +0000 (11:38 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 18 May 2010 09:48:47 +0000 (11:48 +0200)
Let other boards do other things with srst and trst.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
tcl/board/at91rm9200-dk.cfg
tcl/target/at91rm9200.cfg

index 402ed050dc8c093f9301d8a7c443f87fdbba37e1..f484fded1f78faf5c6b6b83c44817a9844426bc6 100644 (file)
@@ -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 }
 
index e2972d724a6eccdc52edea8c0033fcbf3307972b..a9cda192a4f7dfa87c9b7102d680a7417bfa2448 100644 (file)
@@ -1,8 +1,6 @@
 # Atmel AT91rm9200
 # http://atmel.com/products/at91/
 
-reset_config trst_and_srst
-
 if { [info exists CHIPNAME] } {
    set  _CHIPNAME $CHIPNAME
 } else {