summaryrefslogtreecommitdiff
path: root/board/xilinx/ppc440-generic/xilinx_ppc440_generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/xilinx/ppc440-generic/xilinx_ppc440_generic.c')
-rw-r--r--board/xilinx/ppc440-generic/xilinx_ppc440_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/xilinx/ppc440-generic/xilinx_ppc440_generic.c b/board/xilinx/ppc440-generic/xilinx_ppc440_generic.c
index 0867226fff..0c3d667c5c 100644
--- a/board/xilinx/ppc440-generic/xilinx_ppc440_generic.c
+++ b/board/xilinx/ppc440-generic/xilinx_ppc440_generic.c
@@ -37,7 +37,7 @@ int checkboard(void) __attribute__((weak, alias("__checkboard")));
phys_size_t __initdram(int board_type)
{
return get_ram_size(XPAR_DDR2_SDRAM_MEM_BASEADDR,
- CFG_SDRAM_SIZE_MB * 1024 * 1024);
+ CONFIG_SYS_SDRAM_SIZE_MB * 1024 * 1024);
}
phys_size_t initdram(int) __attribute__((weak, alias("__initdram")));