summaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-03-28 10:27:18 -0600
committerTom Rini <trini@konsulko.com>2017-04-05 13:52:36 -0400
commit671549e5b0f51ad015746f0dcbe05332dfe370b1 (patch)
tree0107d1449b4ef4ea25b01c72e5010cd11ecb42af /common/board_f.c
parent2d986c0f54fba2b0e25898976d8ceb16a78ad8cb (diff)
board_f: x86: Rename x86_fsp_init() to arch_fsp_init()
While x86 is the only user and this could in principle be moved to arch_cpu_init() there is some justification for this being a separate call. It provides a way to handle init which is not CPU-specific, but must happen before the CPU can be set up. Rename the function to be more generic. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common/board_f.c')
-rw-r--r--common/board_f.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/board_f.c b/common/board_f.c
index 0b2a325cef..b8c0514b0d 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -817,8 +817,8 @@ static const init_fnc_t init_sequence_f[] = {
#endif
initf_malloc,
initf_console_record,
-#if defined(CONFIG_X86) && defined(CONFIG_HAVE_FSP)
- x86_fsp_init,
+#if defined(CONFIG_HAVE_FSP)
+ arch_fsp_init,
#endif
arch_cpu_init, /* basic arch cpu dependent setup */
mach_cpu_init, /* SoC/machine dependent CPU setup */