Merge branch 'master' of git://git.denx.de/u-boot-sh
[oweals/u-boot.git] / board / ms7720se / ms7720se.c
index ad76c0b2c74dc315e4654c0e1a8ca6b717f75f2e..f83c1208a7257c80f06984a81ac0a78a79dcc93f 100644 (file)
@@ -40,7 +40,6 @@ int checkboard(void)
 
 int board_init(void)
 {
-
        return 0;
 }
 
@@ -48,9 +47,9 @@ int dram_init(void)
 {
        DECLARE_GLOBAL_DATA_PTR;
 
-       gd->bd->bi_memstart = CFG_SDRAM_BASE;
-       gd->bd->bi_memsize = CFG_SDRAM_SIZE;
-       printf("DRAM:  %dMB\n", CFG_SDRAM_SIZE / (1024 * 1024));
+       gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
+       gd->bd->bi_memsize = CONFIG_SYS_SDRAM_SIZE;
+       printf("DRAM:  %dMB\n", CONFIG_SYS_SDRAM_SIZE / (1024 * 1024));
        return 0;
 }