aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTroy Kisky2023-03-13 14:31:33 -0700
committerTom Rini2023-05-10 16:45:42 -0400
commitd5d0e4d3e2072de96c7419a22cadce0043aea3f8 (patch)
treea85eb708fba3002afa0d801737e748d52a8f3345
parent289aa6a371efdb3dae0cd5bdcf694d7fb4568477 (diff)
x86: cpu: qemu: qemu: remove SPL use with CONFIG_IS_ENABLED
CONFIG_IS_ENABLED(SPL_X86_32BIT_INIT) would check for CONFIG_SPL_SPL_X86_32BIT_INIT for SPL builds Signed-off-by: Troy Kisky <troykiskyboundary@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--arch/x86/cpu/qemu/qemu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/qemu/qemu.c b/arch/x86/cpu/qemu/qemu.c
index e54082df7f9..274978c023b 100644
--- a/arch/x86/cpu/qemu/qemu.c
+++ b/arch/x86/cpu/qemu/qemu.c
@@ -97,7 +97,7 @@ static void qemu_chipset_init(void)
}
}
-#if !CONFIG_IS_ENABLED(SPL_X86_32BIT_INIT)
+#if CONFIG_IS_ENABLED(X86_32BIT_INIT)
int arch_cpu_init(void)
{
post_code(POST_CPU_INIT);