x86: Correct usage of IS_ENABLED() macro in arch/x86/lib/spl.c
PATCH 1/1 x86: Correct usage of IS_ENABLED() macro in arch/x86/lib/spl.c
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 <[email protected]>
---
Cc: Simon Glass <[email protected]>
Cc: Bin Meng <[email protected]>
--- arch/x86/lib/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/lib/spl.c +1 -1
@@ -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 ();else ret =x86_cpu_init_f ();
Signature · 1 line
2.43.0
Quoted 4 lines · Tom Rini
This file was using
IS_ENABLED()to test for CONFIG flags but omitted theCONFIG_prefix and so did not work as expected.
Applied to u-boot/master, thanks!
[1/1] x86: Correct usage of IS_ENABLED() macro in arch/x86/lib/spl.c
commit: cd2dc5f448df29b88668a1e1d97971f2007399eb
Signature · 1 line
Tom