x86: Use the standard dram_init() function
[oweals/u-boot.git] / common / board_f.c
index b5bebc9dc862727b7aa2386f64691ace23475cc0..1d81ed7c6a12c440f026fc096d0a42a119f10e9b 100644 (file)
@@ -902,14 +902,10 @@ static init_fnc_t init_sequence_f[] = {
 #endif
 #if defined(CONFIG_HARD_SPI)
        init_func_spi,
-#endif
-#ifdef CONFIG_X86
-       dram_init_f,            /* configure available RAM banks */
-       calculate_relocation_address,
 #endif
        announce_dram_init,
        /* TODO: unify all these dram functions? */
-#ifdef CONFIG_ARM
+#if defined(CONFIG_ARM) || defined(CONFIG_X86)
        dram_init,              /* configure available RAM banks */
 #endif
 #if defined(CONFIG_MIPS) || defined(CONFIG_PPC)