summaryrefslogtreecommitdiff
path: root/board/mpr2
diff options
context:
space:
mode:
Diffstat (limited to 'board/mpr2')
-rw-r--r--board/mpr2/mpr2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/mpr2/mpr2.c b/board/mpr2/mpr2.c
index 98557b400bb..0ec0c198b9d 100644
--- a/board/mpr2/mpr2.c
+++ b/board/mpr2/mpr2.c
@@ -154,8 +154,8 @@ int dram_init(void)
{
DECLARE_GLOBAL_DATA_PTR;
- gd->bd->bi_memstart = CFG_SDRAM_BASE;
- gd->bd->bi_memsize = CFG_SDRAM_SIZE;
- printf("SDRAM: %dMB\n", CFG_SDRAM_SIZE / (1024 * 1024));
+ gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
+ gd->bd->bi_memsize = CONFIG_SYS_SDRAM_SIZE;
+ printf("SDRAM: %dMB\n", CONFIG_SYS_SDRAM_SIZE / (1024 * 1024));
return 0;
}