Skip to content

Commit

Permalink
sharpen reset_config for imx27 - use both trst & srst. srst pulls trst.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.berlios.de/openocd/trunk@2493 b42882b7-edfa-0310-969c-e2dbd0fdcd60
  • Loading branch information
oharboe committed Jul 8, 2009
1 parent b80f6f9 commit 3ce038b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tcl/target/imx21.cfg
Original file line number Diff line number Diff line change
@@ -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] } {
Expand Down
2 changes: 1 addition & 1 deletion tcl/target/imx27.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ce038b

Please sign in to comment.