From 8822fe1683f2fbe18e1f99e99f0e09bde291481e Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Thu, 6 Aug 2015 10:23:52 +0200 Subject: [PATCH] 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 --- arch/arm/cpu/arm926ejs/armada100/dram.c | 2 -- arch/arm/mach-mvebu/dram.c | 2 -- 2 files changed, 4 deletions(-) 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 */ -- 2.39.5