]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/renesas/sh7753evb/sh7753evb.c
sh: add common dram_init() function for all boards
[people/ms/u-boot.git] / board / renesas / sh7753evb / sh7753evb.c
index 52a1906c7f0703f6d8dec93cd6f1486aa5aa6aa2..3d1eedaa5f520562799f963a659061e6fa7be01a 100644 (file)
@@ -175,17 +175,6 @@ int board_init(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;
-}
-
 int board_mmc_init(bd_t *bis)
 {
        struct gpio_regs *gpio = GPIO_BASE;