x86: Use the standard dram_init() function
Instead of having an x86-specific DRAM init function, adjust things so we can use the normal one. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user