summaryrefslogtreecommitdiff
path: root/cpu/mpc83xx
diff options
context:
space:
mode:
authorDave Liu <r63238@freescale.com>2007-08-10 15:48:59 +0800
committerWolfgang Denk <wd@denx.de>2007-08-10 22:00:52 +0200
commit49bb59912d21aacb507eb81fd21fb7af650c706c (patch)
tree20368e999a0d15c2dc4d88c1b812453a123c80c5 /cpu/mpc83xx
parentf2c459ce6eab51fd96ef68cde0290be6b500e8d6 (diff)
downloadu-boot-imx-49bb59912d21aacb507eb81fd21fb7af650c706c.zip
u-boot-imx-49bb59912d21aacb507eb81fd21fb7af650c706c.tar.gz
u-boot-imx-49bb59912d21aacb507eb81fd21fb7af650c706c.tar.bz2
mpc83xx: Suppress the warning 'burstlen'
suppress the warning 'burstlen' of spd_sdram. Signed-off-by: Dave Liu <daveliu@freescale.com>
Diffstat (limited to 'cpu/mpc83xx')
-rw-r--r--cpu/mpc83xx/spd_sdram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc83xx/spd_sdram.c b/cpu/mpc83xx/spd_sdram.c
index 2c17cee..54f0c83 100644
--- 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 {