mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 13:41:31 +00:00
86xx: Fix broken variable reference when #def DEBUGing.
Sometimes you can't reference the DDR2 controller variables. Signed-off-by: Jon Loeliger <jdl@freescale.com>
This commit is contained in:
parent
f9d9164d9c
commit
d08b7233bc
1 changed files with 4 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue