]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/renesas/r2dplus/r2dplus.c
sh: add common dram_init() function for all boards
[people/ms/u-boot.git] / board / renesas / r2dplus / r2dplus.c
index 249c35f3a2c681d530a631e9eeac2280351a6601..d6fb4da82b4cfc6d033bb408512bc3ac9c04cda5 100644 (file)
@@ -12,8 +12,6 @@
 #include <asm/io.h>
 #include <asm/pci.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 int checkboard(void)
 {
        puts("BOARD: Renesas Solutions R2D Plus\n");
@@ -25,14 +23,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;
-}
-
 int board_late_init(void)
 {
        return 0;