From e92b203a768731fdbc1499c59b0a60e1a2b290a7 Mon Sep 17 00:00:00 2001 From: Marc Pignat Date: Tue, 18 May 2010 11:38:01 +0200 Subject: at91rm9200 : reset_config should go to the board config file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let other boards do other things with srst and trst. Signed-off-by: Øyvind Harboe --- tcl/board/at91rm9200-dk.cfg | 3 +++ tcl/target/at91rm9200.cfg | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'tcl') 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 } diff --git a/tcl/target/at91rm9200.cfg b/tcl/target/at91rm9200.cfg index e2972d72..a9cda192 100644 --- a/tcl/target/at91rm9200.cfg +++ b/tcl/target/at91rm9200.cfg @@ -1,8 +1,6 @@ # Atmel AT91rm9200 # http://atmel.com/products/at91/ -reset_config trst_and_srst - if { [info exists CHIPNAME] } { set _CHIPNAME $CHIPNAME } else { -- cgit v1.2.3