]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/renesas/sh7752evb/sh7752evb.c
sh: add common dram_init() function for all boards
[people/ms/u-boot.git] / board / renesas / sh7752evb / sh7752evb.c
index 3aad532367b361cfe0c5bba0ed72f2f0e5c69c90..525d9797242ddeac2ab7e1663b668d76f7aa2510 100644 (file)
@@ -159,17 +159,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;