]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/renesas/ap325rxa/ap325rxa.c
sh: add common dram_init() function for all boards
[people/ms/u-boot.git] / board / renesas / ap325rxa / ap325rxa.c
index 518ad7b6a14e6b209cc7caebeac868ef15be727f..218d479c6b29d86dd3acf032837db99ed6157f51 100644 (file)
@@ -10,8 +10,6 @@
 #include <asm/io.h>
 #include <asm/processor.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 /* PRI control register */
 #define PRPRICR5       0xFF800048 /* LMB */
 #define PRPRICR5_D     0x2a
@@ -130,14 +128,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)
 {
 }