summaryrefslogtreecommitdiff
path: root/tcl/target
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-07-08 06:32:27 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-07-08 06:32:27 +0000
commit3ce038baa3faf93bed39792743ffba6abb085324 (patch)
treec52509b8081d2dc4770d6c2e92cc040315cb82a6 /tcl/target
parentb80f6f96d3326f969929dab0c388949525dd0e5b (diff)
downloadopenocd+libswd-3ce038baa3faf93bed39792743ffba6abb085324.tar.gz
openocd+libswd-3ce038baa3faf93bed39792743ffba6abb085324.tar.bz2
openocd+libswd-3ce038baa3faf93bed39792743ffba6abb085324.tar.xz
openocd+libswd-3ce038baa3faf93bed39792743ffba6abb085324.zip
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
Diffstat (limited to 'tcl/target')
-rw-r--r--tcl/target/imx21.cfg2
-rw-r--r--tcl/target/imx27.cfg2
2 files changed, 3 insertions, 1 deletions
diff --git a/tcl/target/imx21.cfg b/tcl/target/imx21.cfg
index fd2143e1..3a02cac6 100644
--- a/tcl/target/imx21.cfg
+++ b/tcl/target/imx21.cfg
@@ -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] } {
diff --git a/tcl/target/imx27.cfg b/tcl/target/imx27.cfg
index 7687672e..b4dc8a98 100644
--- a/tcl/target/imx27.cfg
+++ b/tcl/target/imx27.cfg
@@ -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