projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bluenrg: add support for bluenrg-lps device and board
[fw/openocd]
/
tcl
/
target
/
ixp42x.cfg
diff --git
a/tcl/target/ixp42x.cfg
b/tcl/target/ixp42x.cfg
index 624fe29da8987cddd4e8980b9c5dee035d9bfa5a..ee10b2157cf8bf5e9a0b9669f404e012489f9ab9 100644
(file)
--- a/
tcl/target/ixp42x.cfg
+++ b/
tcl/target/ixp42x.cfg
@@
-72,11
+72,11
@@
proc ixp42x_init_sdram { SDRAM_CFG REFRESH CASLAT } {
switch $CASLAT {
2 {
switch $CASLAT {
2 {
- set SDRAM_CFG [expr
$SDRAM_CFG | $::IXP42x_SDRAM_CL2
]
+ set SDRAM_CFG [expr
{$SDRAM_CFG | $::IXP42x_SDRAM_CL2}
]
set CASCMD $::IXP425_SDRAM_IR_MODE_SET_CAS2_CMD
}
3 {
set CASCMD $::IXP425_SDRAM_IR_MODE_SET_CAS2_CMD
}
3 {
- set SDRAM_CFG [expr
$SDRAM_CFG | $::IXP42x_SDRAM_CL3
]
+ set SDRAM_CFG [expr
{$SDRAM_CFG | $::IXP42x_SDRAM_CL3}
]
set CASCMD $::IXP425_SDRAM_IR_MODE_SET_CAS3_CMD
}
default { error [format "unsupported cas latency \"%s\" " $CASLAT] }
set CASCMD $::IXP425_SDRAM_IR_MODE_SET_CAS3_CMD
}
default { error [format "unsupported cas latency \"%s\" " $CASLAT] }