aboutsummaryrefslogtreecommitdiffstats
path: root/board/sl8245/sl8245.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/sl8245/sl8245.c')
-rw-r--r--board/sl8245/sl8245.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/sl8245/sl8245.c b/board/sl8245/sl8245.c
index 25adc2832d..e849e013d3 100644
--- a/board/sl8245/sl8245.c
+++ b/board/sl8245/sl8245.c
@@ -37,13 +37,13 @@ int checkboard (void)
phys_size_t initdram (int board_type)
{
-#ifndef CFG_RAMBOOT
+#ifndef CONFIG_SYS_RAMBOOT
long size;
long new_bank0_end;
long mear1;
long emear1;
- size = get_ram_size(CFG_SDRAM_BASE, CFG_MAX_RAM_SIZE);
+ size = get_ram_size(CONFIG_SYS_SDRAM_BASE, CONFIG_SYS_MAX_RAM_SIZE);
new_bank0_end = size - 1;
mear1 = mpc824x_mpc107_getreg(MEAR1);
@@ -57,7 +57,7 @@ phys_size_t initdram (int board_type)
return (size);
#else
- return CFG_MAX_RAM_SIZE;
+ return CONFIG_SYS_MAX_RAM_SIZE;
#endif
}