]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: cpu: qemu: qemu: remove SPL use with CONFIG_IS_ENABLED
authorTroy Kisky <troykiskyboundary@gmail.com>
Mon, 13 Mar 2023 21:31:33 +0000 (14:31 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 10 May 2023 20:45:42 +0000 (16:45 -0400)
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>
arch/x86/cpu/qemu/qemu.c

index e54082df7f9654c94d20436c63bc1d8b274c7a87..274978c023b610264db75e8e5beb38ec61e51999 100644 (file)
@@ -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);