]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/renesas/sh7785lcr/sh7785lcr.c
sh: add common dram_init() function for all boards
[people/ms/u-boot.git] / board / renesas / sh7785lcr / sh7785lcr.c
index 622e6026137acac78591288fbf501d2cd9f76bc8..a1a030197182f0844e4f51460819979eccfcfbbc 100644 (file)
@@ -10,8 +10,6 @@
 #include <asm/pci.h>
 #include <netdev.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 int checkboard(void)
 {
        puts("BOARD: Renesas Technology Corp. R0P7785LC0011RL\n");
@@ -23,14 +21,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;
-}
-
 static struct pci_controller hose;
 void pci_init_board(void)
 {