From: Stefan Roese Date: Thu, 6 Aug 2015 08:23:52 +0000 (+0200) Subject: arm: mvebu/armada100: dram.c: Remove CONFIG_SYS_BOARD_DRAM_INIT X-Git-Tag: v2015.10-rc2~1^2~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8822fe1683f2fbe18e1f99e99f0e09bde291481e;p=u-boot arm: mvebu/armada100: dram.c: Remove CONFIG_SYS_BOARD_DRAM_INIT CONFIG_SYS_BOARD_DRAM_INIT is not defined anywhere. So lets get rid of all references here. Signed-off-by: Stefan Roese Cc: Luka Perkov --- diff --git a/arch/arm/cpu/arm926ejs/armada100/dram.c b/arch/arm/cpu/arm926ejs/armada100/dram.c index 8d7c71ff68..f3b9a66cd5 100644 --- a/arch/arm/cpu/arm926ejs/armada100/dram.c +++ b/arch/arm/cpu/arm926ejs/armada100/dram.c @@ -72,7 +72,6 @@ u32 armd1_sdram_size(int chip_sel) } } -#ifndef CONFIG_SYS_BOARD_DRAM_INIT int dram_init(void) { int i; @@ -113,4 +112,3 @@ void dram_init_banksize(void) { dram_init(); } -#endif /* CONFIG_SYS_BOARD_DRAM_INIT */ diff --git a/arch/arm/mach-mvebu/dram.c b/arch/arm/mach-mvebu/dram.c index db18791a86..7a5840c8b1 100644 --- a/arch/arm/mach-mvebu/dram.c +++ b/arch/arm/mach-mvebu/dram.c @@ -93,7 +93,6 @@ void mvebu_sdram_size_adjust(enum memory_bank bank) mvebu_sdram_bs_set(bank, size); } -#ifndef CONFIG_SYS_BOARD_DRAM_INIT int dram_init(void) { int i; @@ -141,4 +140,3 @@ void dram_init_banksize(void) { dram_init(); } -#endif /* CONFIG_SYS_BOARD_DRAM_INIT */