summaryrefslogtreecommitdiff
path: root/arch/x86/lib
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 /arch/x86/lib
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 'arch/x86/lib')
-rw-r--r--arch/x86/lib/fsp/fsp_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/fsp/fsp_common.c b/arch/x86/lib/fsp/fsp_common.c
index 8479af1d7e..cebf85ee5b 100644
--- a/arch/x86/lib/fsp/fsp_common.c
+++ b/arch/x86/lib/fsp/fsp_common.c
@@ -70,7 +70,7 @@ static __maybe_unused void *fsp_prepare_mrc_cache(void)
return cache->data;
}
-int x86_fsp_init(void)
+int arch_fsp_init(void)
{
void *nvs;