summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-uniphier/board_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-uniphier/board_common.c')
-rw-r--r--arch/arm/mach-uniphier/board_common.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-uniphier/board_common.c b/arch/arm/mach-uniphier/board_common.c
index 5f2d5f6f5b..967fa6c086 100644
--- a/arch/arm/mach-uniphier/board_common.c
+++ b/arch/arm/mach-uniphier/board_common.c
@@ -18,15 +18,3 @@ int board_init(void)
return 0;
}
-
-#if CONFIG_NR_DRAM_BANKS >= 2
-void dram_init_banksize(void)
-{
- DECLARE_GLOBAL_DATA_PTR;
-
- gd->bd->bi_dram[0].start = CONFIG_SDRAM0_BASE;
- gd->bd->bi_dram[0].size = CONFIG_SDRAM0_SIZE;
- gd->bd->bi_dram[1].start = CONFIG_SDRAM1_BASE;
- gd->bd->bi_dram[1].size = CONFIG_SDRAM1_SIZE;
-}
-#endif
OpenPOWER on IntegriCloud