Browse Source

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>
tags/v0.5.0-rc1
Marc Pignat 14 years ago
committed by Øyvind Harboe
parent
commit
e92b203a76
2 changed files with 3 additions and 2 deletions
  1. +3
    -0
      tcl/board/at91rm9200-dk.cfg
  2. +0
    -2
      tcl/target/at91rm9200.cfg

+ 3
- 0
tcl/board/at91rm9200-dk.cfg 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 }




+ 0
- 2
tcl/target/at91rm9200.cfg 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 {


Loading…
Cancel
Save