arm: mvebu/armada100: dram.c: Remove CONFIG_SYS_BOARD_DRAM_INIT
authorStefan Roese <sr@denx.de>
Thu, 6 Aug 2015 08:23:52 +0000 (10:23 +0200)
committerLuka Perkov <luka.perkov@sartura.hr>
Mon, 17 Aug 2015 16:41:33 +0000 (18:41 +0200)
CONFIG_SYS_BOARD_DRAM_INIT is not defined anywhere. So lets get rid
of all references here.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Luka Perkov <luka.perkov@sartura.hr>
arch/arm/cpu/arm926ejs/armada100/dram.c
arch/arm/mach-mvebu/dram.c

index 8d7c71ff68c4652ff808cde5aaaa33b16d1290f5..f3b9a66cd5aad5dcddd9499aa7906baf8188fe59 100644 (file)
@@ -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 */
index db18791a8627e77f9baba41199a9ba5fba3af37c..7a5840c8b12fa4dfd866c45628fa5944032c97cf 100644 (file)
@@ -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 */