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:
f9d9164
)
86xx: Fix broken variable reference when #def DEBUGing.
author
Jon Loeliger
<jdl@freescale.com>
Thu, 1 Nov 2007 17:23:29 +0000
(12:23 -0500)
committer
Wolfgang Denk
<wd@denx.de>
Fri, 16 Nov 2007 23:58:10 +0000
(
00:58
+0100)
Sometimes you can't reference the DDR2 controller variables.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
cpu/mpc86xx/spd_sdram.c
patch
|
blob
|
history
diff --git
a/cpu/mpc86xx/spd_sdram.c
b/cpu/mpc86xx/spd_sdram.c
index 059097f5142ae595d51b6cd105b1180c43195c85..d57bcdf2c875ff548c5d13422beda21d19f01c4d 100644
(file)
--- a/
cpu/mpc86xx/spd_sdram.c
+++ b/
cpu/mpc86xx/spd_sdram.c
@@
-1270,10
+1270,12
@@
spd_sdram(void)
debug("\nDDR: LAWBAR8=0x%08x\n", mcm->lawbar8);
debug("DDR: LAWAR8=0x%08x\n", mcm->lawar8);
}
+
+ debug("\nMemory size of DDR2 = 0x%08lx\n", memsize_ddr2);
+
#endif /* CONFIG_NUM_DDR_CONTROLLERS > 1 */
- debug("\nMemory sizes are DDR1 = 0x%08lx, DDR2 = 0x%08lx\n",
- memsize_ddr1, memsize_ddr2);
+ debug("\nMemory size of DDR1 = 0x%08lx\n", memsize_ddr1);
/*
* If neither DDR controller is enabled return 0.