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>
__archive__
Marc Pignat 2010-05-18 11:38:01 +02:00 committed by Øyvind Harboe
parent dc464ad88e
commit e92b203a76
2 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,9 @@
# #
# It has atmel at91rm9200 chip. # It has atmel at91rm9200 chip.
source [find target/at91rm9200.cfg] source [find target/at91rm9200.cfg]
reset_config trst_and_srst
$_TARGETNAME configure -event gdb-attach { reset init } $_TARGETNAME configure -event gdb-attach { reset init }
$_TARGETNAME configure -event reset-init { at91rm9200_dk_init } $_TARGETNAME configure -event reset-init { at91rm9200_dk_init }

View File

@ -1,8 +1,6 @@
# Atmel AT91rm9200 # Atmel AT91rm9200
# http://atmel.com/products/at91/ # http://atmel.com/products/at91/
reset_config trst_and_srst
if { [info exists CHIPNAME] } { if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME set _CHIPNAME $CHIPNAME
} else { } else {