Skip to content
Snippets Groups Projects
Commit a52a068e authored by Bin Meng's avatar Bin Meng Committed by Simon Glass
Browse files

x86: fsp: Delay x86_fsp_init() call a little bit


Move x86_fsp_init() call after initf_malloc() so that we can fix up
the gd->malloc_limit later.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 08fc7b8f
Branches
Tags
No related merge requests found
...@@ -764,9 +764,6 @@ static init_fnc_t init_sequence_f[] = { ...@@ -764,9 +764,6 @@ static init_fnc_t init_sequence_f[] = {
#ifdef CONFIG_OF_CONTROL #ifdef CONFIG_OF_CONTROL
fdtdec_setup, fdtdec_setup,
#endif #endif
#if defined(CONFIG_X86) && defined(CONFIG_HAVE_FSP)
x86_fsp_init,
#endif
#ifdef CONFIG_TRACE #ifdef CONFIG_TRACE
trace_early_init, trace_early_init,
#endif #endif
...@@ -774,6 +771,9 @@ static init_fnc_t init_sequence_f[] = { ...@@ -774,6 +771,9 @@ static init_fnc_t init_sequence_f[] = {
#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx) #if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx)
/* TODO: can this go into arch_cpu_init()? */ /* TODO: can this go into arch_cpu_init()? */
probecpu, probecpu,
#endif
#if defined(CONFIG_X86) && defined(CONFIG_HAVE_FSP)
x86_fsp_init,
#endif #endif
arch_cpu_init, /* basic arch cpu dependent setup */ arch_cpu_init, /* basic arch cpu dependent setup */
mark_bootstage, mark_bootstage,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment