aboutsummaryrefslogtreecommitdiff
path: root/tcl/chip/st/spear/spear3xx_ddr.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/chip/st/spear/spear3xx_ddr.tcl')
-rw-r--r--tcl/chip/st/spear/spear3xx_ddr.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/chip/st/spear/spear3xx_ddr.tcl b/tcl/chip/st/spear/spear3xx_ddr.tcl
index a9787d1..22fe06e 100644
--- a/tcl/chip/st/spear/spear3xx_ddr.tcl
+++ b/tcl/chip/st/spear/spear3xx_ddr.tcl
@@ -28,7 +28,7 @@ proc sp3xx_ddr_init {ddr_type {ddr_chips 1}} {
if { $ddr_chips == 2 } {
echo [format \
"Double chip DDR memory. Total memory size 0x%08x byte" \
- [expr 2 * $ddr_size]]
+ [expr {2 * $ddr_size}]]
} else {
echo [format \
"Single chip DDR memory. Memory size 0x%08x byte" \