projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2c459c
)
mpc83xx: Suppress the warning 'burstlen'
author
Dave Liu
<r63238@freescale.com>
Fri, 10 Aug 2007 07:48:59 +0000
(15:48 +0800)
committer
Wolfgang Denk
<wd@denx.de>
Fri, 10 Aug 2007 20:00:52 +0000
(22:00 +0200)
suppress the warning 'burstlen' of spd_sdram.
Signed-off-by: Dave Liu <daveliu@freescale.com>
cpu/mpc83xx/spd_sdram.c
patch
|
blob
|
history
diff --git
a/cpu/mpc83xx/spd_sdram.c
b/cpu/mpc83xx/spd_sdram.c
index 2c17cee31a51ec1edc31a6b0f1ff0d171398da91..54f0c83d454013cb7564f7acd87fe6ce518b9afe 100644
(file)
--- a/
cpu/mpc83xx/spd_sdram.c
+++ b/
cpu/mpc83xx/spd_sdram.c
@@
-576,7
+576,7
@@
long int spd_sdram()
if (spd.dataw_lsb == 0x20) {
if (spd.mem_type == SPD_MEMTYPE_DDR)
burstlen = 0x03; /* 32 bit data bus, burst len is 8 */
- if (spd.mem_type == SPD_MEMTYPE_DDR2)
+ else
burstlen = 0x02; /* 32 bit data bus, burst len is 4 */
printf("\n DDR DIMM: data bus width is 32 bit");
} else {