]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/ms7750se/ms7750se.c
sh: use write{8,16,32} in all lowlevel_init
[people/ms/u-boot.git] / board / ms7750se / ms7750se.c
index 1ae9dd13a5d5a8af95a5979cd047f4c3852113c8..02ff0a3df5411e7ad83a5a201c9802a8839c5c83 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007 
+ * Copyright (C) 2007
  * Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  *
  * See file CREDITS for list of people who contributed to this
@@ -39,9 +39,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;
 }