From: Jeremy Compostella Date: Tue, 18 Mar 2025 17:40:03 +0000 (-0700) Subject: arch/x86/cpu: Call x86_cpu_reinit_f for 64-bits X-Git-Tag: v2025.07-rc1~119^2~5^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4246c1521c4b7bb1e3bece5c921f4c7e6a85e60;p=pandora-u-boot.git arch/x86/cpu: Call x86_cpu_reinit_f for 64-bits As both CONFIG_X86_RUN_64BIT and X86_RUN_64BIT_NO_SPL cases run U-Boot in 64-bit mode with the CPU fully initialized already. Signed-off-by: Jeremy Compostella Reviewed-by: Simon Glass --- diff --git a/arch/x86/cpu/coreboot/coreboot.c b/arch/x86/cpu/coreboot/coreboot.c index fa7430b436f..d0719d1a405 100644 --- a/arch/x86/cpu/coreboot/coreboot.c +++ b/arch/x86/cpu/coreboot/coreboot.c @@ -22,7 +22,7 @@ int arch_cpu_init(void) { int ret; - ret = IS_ENABLED(CONFIG_X86_RUN_64BIT) ? x86_cpu_reinit_f() : + ret = IS_ENABLED(CONFIG_X86_64) ? x86_cpu_reinit_f() : x86_cpu_init_f(); if (ret) return ret;