]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/renesas/ecovec/ecovec.c
sh: add common dram_init() function for all boards
[people/ms/u-boot.git] / board / renesas / ecovec / ecovec.c
index d862d997e5607aa7eb69d6d61b6ea8e606102a52..28b557a5b08ad76a4a81bbd4bf3277c01bbf7f0f 100644 (file)
@@ -22,16 +22,6 @@ int checkboard(void)
        return 0;
 }
 
-int dram_init(void)
-{
-       DECLARE_GLOBAL_DATA_PTR;
-
-       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;
-}
-
 static void debug_led(u8 led)
 {
        /* PDGR[0-4] is debug LED */