Browse Source

sharpen reset_config for imx27 - use both trst & srst. srst pulls trst.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2493 b42882b7-edfa-0310-969c-e2dbd0fdcd60
tags/v0.2.0
oharboe 14 years ago
parent
commit
3ce038baa3
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      tcl/target/imx21.cfg
  2. +1
    -1
      tcl/target/imx27.cfg

+ 2
- 0
tcl/target/imx21.cfg View File

@@ -1,4 +1,6 @@
#use combined on interfaces or targets that can't set TRST/SRST separately
#
# Hmmm.... should srst_pulls_trst be used here like i.MX27???
reset_config trst_and_srst

if { [info exists CHIPNAME] } {


+ 1
- 1
tcl/target/imx27.cfg View File

@@ -4,7 +4,7 @@
# Without setting these options correctly you'll see all sorts
# of weird errors, e.g. MOE=0xe, invalid cpsr values, reset
# failing, etc.
reset_config srst_only srst_pulls_trst
reset_config trst_and_srst srst_pulls_trst

if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME


Loading…
Cancel
Save