summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-03-28 16:27:18 (GMT)
committerTom Rini <trini@konsulko.com>2017-04-05 17:52:36 (GMT)
commit671549e5b0f51ad015746f0dcbe05332dfe370b1 (patch)
tree0107d1449b4ef4ea25b01c72e5010cd11ecb42af /common
parent2d986c0f54fba2b0e25898976d8ceb16a78ad8cb (diff)
downloadu-boot-fsl-qoriq-671549e5b0f51ad015746f0dcbe05332dfe370b1.tar.xz
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')
-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 0b2a325..b8c0514 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 */