Skip to contentSkip to conversation

arm: mvebu/armada100: dram.c: Remove CONFIG_SYS_BOARD_DRAM_INIT

PATCH New Stefan Roese 1 participant 1 message Aug 6, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 arch/arm/cpu/arm926ejs/armada100/dram.c | 2 --
 arch/arm/mach-mvebu/dram.c              | 2 --
 2 files changed, 4 deletions(-)
arch/arm/cpu/arm926ejs/armada100/dram.c +0 -2
index 8d7c71f..f3b9a66 100644
@@ -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 */
arch/arm/mach-mvebu/dram.c +0 -2
index db18791..7a5840c 100644
@@ -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 */
Signature · 1 line
2.4.8