]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/renesas/MigoR/migo_r.c
sh: add common dram_init() function for all boards
[people/ms/u-boot.git] / board / renesas / MigoR / migo_r.c
index fa2bf78cf157f0efc420912002363b7b0e45ab03..6409a73de1447a4ae15cd6eed9b37ffa7591536b 100644 (file)
@@ -15,8 +15,6 @@
 #include <asm/io.h>
 #include <asm/processor.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 int checkboard(void)
 {
        puts("BOARD: Renesas MigoR\n");
@@ -28,14 +26,6 @@ int board_init(void)
        return 0;
 }
 
-int dram_init (void)
-{
-       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;
-}
-
 void led_set_state (unsigned short value)
 {
 }