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__
parent
dc464ad88e
commit
e92b203a76
|
@ -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 }
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue