]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/renesas/rsk7264/rsk7264.c
sh: add common dram_init() function for all boards
[people/ms/u-boot.git] / board / renesas / rsk7264 / rsk7264.c
index d938b3a7b6539131a8ff288b7e2d50b1b8e4efc2..4ebb27b463d3822c357091fa11b3186b0b2af127 100644 (file)
@@ -14,8 +14,6 @@
 #include <asm/io.h>
 #include <asm/processor.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 int checkboard(void)
 {
        puts("BOARD: Renesas Technology RSK7264\n");
@@ -27,14 +25,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;
-}
-
 void led_set_state(unsigned short value)
 {
 }