summaryrefslogtreecommitdiff
path: root/tcl/chip/st/spear/spear3xx_ddr.tcl
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 /tcl/chip/st/spear/spear3xx_ddr.tcl
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 'tcl/chip/st/spear/spear3xx_ddr.tcl')
-rw-r--r--tcl/chip/st/spear/spear3xx_ddr.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/chip/st/spear/spear3xx_ddr.tcl b/tcl/chip/st/spear/spear3xx_ddr.tcl
index eb1c4b02..a804cdc4 100644
--- a/tcl/chip/st/spear/spear3xx_ddr.tcl
+++ b/tcl/chip/st/spear/spear3xx_ddr.tcl
@@ -23,11 +23,11 @@ proc sp3xx_ddr_init {ddr_type} {
mww $ddr_size 0x87654321
mww 0x00000000 0x12345678
if {[expr [mrw 0x00000000] == 0x12345678 && [mrw $ddr_size] == 0x87654321]} {
- puts [format \
+ echo [format \
"Double chip DDR memory. Total memory size 0x%08x byte" \
[expr 2 * $ddr_size]]
} else {
- puts [format \
+ echo [format \
"Single chip DDR memory. Memory size 0x%08x byte" \
$ddr_size]
}