summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-03-15 14:25:33 +0000
committerTom Rini <trini@konsulko.com>2025-04-03 11:41:55 -0600
commite93da0399cd41f0f9d5866a3e884bfdd4e573e9c (patch)
tree1908c6a3e82dd7305e3f8aee05428840299ec16c
parent912e32d34fa2ceeeb5d47eafb33074971b1755c9 (diff)
x86: spl: Drop duplicate CPU init
x86_cpu_init_f() is called by arch_cpu_init() a few lines below this code. Drop the duplicate call. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--arch/x86/lib/spl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c
index 7a033505101..47cf9c862b5 100644
--- a/arch/x86/lib/spl.c
+++ b/arch/x86/lib/spl.c
@@ -84,8 +84,6 @@ static int x86_spl_init(void)
log_debug("x86 spl starting\n");
if (IS_ENABLED(TPL))
ret = x86_cpu_reinit_f();
- else
- ret = x86_cpu_init_f();
ret = spl_init();
if (ret) {
log_debug("spl_init() failed (err=%d)\n", ret);