summaryrefslogtreecommitdiff
path: root/board/freescale/mx51evk/mx51evk.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/mx51evk/mx51evk.c')
-rw-r--r--board/freescale/mx51evk/mx51evk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c
index 46095acedf..86364acf8c 100644
--- a/board/freescale/mx51evk/mx51evk.c
+++ b/board/freescale/mx51evk/mx51evk.c
@@ -30,7 +30,7 @@ DECLARE_GLOBAL_DATA_PTR;
int dram_init(void)
{
/* dram_init must store complete ramsize in gd->ram_size */
- gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE,
+ gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE,
PHYS_SDRAM_1_SIZE);
return 0;
}