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:
4cc29d0
)
x86: Correct usage of IS_ENABLED() macro in arch/x86/lib/spl.c
author
Tom Rini
<trini@konsulko.com>
Wed, 26 Feb 2025 20:31:26 +0000
(14:31 -0600)
committer
Tom Rini
<trini@konsulko.com>
Fri, 9 May 2025 16:42:07 +0000
(10:42 -0600)
This file was using IS_ENABLED() to test for CONFIG flags but omitted
the CONFIG_ prefix and so did not work as expected.
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/x86/lib/spl.c
patch
|
blob
|
history
diff --git
a/arch/x86/lib/spl.c
b/arch/x86/lib/spl.c
index
0a6a761
..
6a6cad3
100644
(file)
--- a/
arch/x86/lib/spl.c
+++ b/
arch/x86/lib/spl.c
@@
-82,7
+82,7
@@
static int x86_spl_init(void)
int ret;
log_debug("x86 spl starting\n");
- if (IS_ENABLED(TPL))
+ if (IS_ENABLED(
CONFIG_
TPL))
ret = x86_cpu_reinit_f();
ret = spl_init();
if (ret) {