summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-11-08 17:23:49 +0800
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-11-09 08:12:51 +0100
commite7b2958229c7e0d7e98e130764aa50d1ca9017d3 (patch)
tree93503ebca6e20ffe9ca968680b834ab75d809224 /src
parent4747af362de04b508c91df4004d2aed5579c8a1c (diff)
downloadopenocd_libswd-e7b2958229c7e0d7e98e130764aa50d1ca9017d3.tar.gz
openocd_libswd-e7b2958229c7e0d7e98e130764aa50d1ca9017d3.tar.bz2
openocd_libswd-e7b2958229c7e0d7e98e130764aa50d1ca9017d3.tar.xz
openocd_libswd-e7b2958229c7e0d7e98e130764aa50d1ca9017d3.zip
TCL scripts: replace "puts" with "echo"
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/jtag/startup.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jtag/startup.tcl b/src/jtag/startup.tcl
index fdd30781..1779df51 100644
--- a/src/jtag/startup.tcl
+++ b/src/jtag/startup.tcl
@@ -30,7 +30,7 @@ proc init_reset { mode } {
# documented nor supported except on ZY1000.
proc power_restore {} {
- puts "Sensed power restore, running reset init and halting GDB."
+ echo "Sensed power restore, running reset init and halting GDB."
reset init
# Halt GDB so user can deal with a detected power restore.
@@ -47,7 +47,7 @@ proc power_restore {} {
add_help_text power_restore "Overridable procedure run when power restore is detected. Runs 'reset init' by default."
proc power_dropout {} {
- puts "Sensed power dropout."
+ echo "Sensed power dropout."
}
#########
@@ -56,7 +56,7 @@ proc power_dropout {} {
# documented nor supported except on ZY1000.
proc srst_deasserted {} {
- puts "Sensed nSRST deasserted, running reset init and halting GDB."
+ echo "Sensed nSRST deasserted, running reset init and halting GDB."
reset init
# Halt GDB so user can deal with a detected reset.
@@ -73,7 +73,7 @@ proc srst_deasserted {} {
add_help_text srst_deasserted "Overridable procedure run when srst deassert is detected. Runs 'reset init' by default."
proc srst_asserted {} {
- puts "Sensed nSRST asserted."
+ echo "Sensed nSRST asserted."
}
# measure actual JTAG clock