diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-10-12 09:25:08 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-10-12 09:25:08 +0200 |
commit | b23b096c8e712aabab263848594a2703f877d963 (patch) | |
tree | 07e09cc08a636d3cfc7626380f75f3eced65fb9d /tcl/target | |
parent | c3428f5b7ac2c555a52009cee04d0d1593a4a20c (diff) | |
download | openocd_libswd-b23b096c8e712aabab263848594a2703f877d963.tar.gz openocd_libswd-b23b096c8e712aabab263848594a2703f877d963.tar.bz2 openocd_libswd-b23b096c8e712aabab263848594a2703f877d963.tar.xz openocd_libswd-b23b096c8e712aabab263848594a2703f877d963.zip |
Supply default reset_config statement to make target scripts useful standalone and provide sensible default
Diffstat (limited to 'tcl/target')
-rw-r--r-- | tcl/target/imx31.cfg | 2 | ||||
-rw-r--r-- | tcl/target/imx35.cfg | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tcl/target/imx31.cfg b/tcl/target/imx31.cfg index ad99975b..f579d6e9 100644 --- a/tcl/target/imx31.cfg +++ b/tcl/target/imx31.cfg @@ -1,7 +1,7 @@ # imx31 config # -reset_config trst_and_srst +reset_config trst_and_srst srst_nogate if { [info exists CHIPNAME] } { set _CHIPNAME $CHIPNAME diff --git a/tcl/target/imx35.cfg b/tcl/target/imx35.cfg index 446eef62..800e142d 100644 --- a/tcl/target/imx35.cfg +++ b/tcl/target/imx35.cfg @@ -1,6 +1,9 @@ # imx35 config # +reset_config trst_and_srst srst_nogate + + if { [info exists CHIPNAME] } { set _CHIPNAME $CHIPNAME } else { |