aboutsummaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-08-21 21:16:59 -0600
committerTom Rini <trini@konsulko.com>2023-08-31 13:16:54 -0400
commit13a7db9ab1791736c69ce49be85db5f4c32dc581 (patch)
treea64403053be7cc964b8a598ccec33b9cf39632d9 /common/board_f.c
parent12be60daab224f2cbcb7c6584ab87f0f7caba83c (diff)
x86: Convert arch_fsp_init() to use events
Convert this to use events instead of calling a function directly in the init sequence. Rename it to arch_fsp_init_f() to distinguish it from the one that happens after relocation. For FSPv2 nothing needs to be done here, so drop the empty function. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/board_f.c')
-rw-r--r--common/board_f.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/board_f.c b/common/board_f.c
index a485ba62fa..46008bac65 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -855,9 +855,7 @@ static const init_fnc_t init_sequence_f[] = {
#if defined(CONFIG_CONSOLE_RECORD_INIT_F)
console_record_init,
#endif
-#if defined(CONFIG_HAVE_FSP)
- arch_fsp_init,
-#endif
+ INITCALL_EVENT(EVT_FSP_INIT_F),
arch_cpu_init, /* basic arch cpu dependent setup */
mach_cpu_init, /* SoC/machine dependent CPU setup */
initf_dm,