From: Tom Rini Date: Wed, 26 Feb 2025 20:31:26 +0000 (-0600) Subject: x86: Correct usage of IS_ENABLED() macro in arch/x86/lib/spl.c X-Git-Tag: v2025.07-rc2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd2dc5f448df29b88668a1e1d97971f2007399eb;p=pandora-u-boot.git 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 --- diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c index 0a6a761987e..6a6cad310bc 100644 --- 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) {