git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
912e32d
)
x86: spl: Drop duplicate CPU init
author
Simon Glass
<sjg@chromium.org>
Sat, 15 Mar 2025 14:25:33 +0000
(14:25 +0000)
committer
Tom Rini
<trini@konsulko.com>
Thu, 3 Apr 2025 17:41:55 +0000
(11:41 -0600)
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>
arch/x86/lib/spl.c
patch
|
blob
|
history
diff --git
a/arch/x86/lib/spl.c
b/arch/x86/lib/spl.c
index
7a03350
..
47cf9c8
100644
(file)
--- 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);