Fix EFI boot file name definition for 64-bit x86
authorJeremy Compostella <jeremy.compostella@intel.com>
Tue, 18 Mar 2025 17:41:38 +0000 (10:41 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 4 Apr 2025 18:26:36 +0000 (12:26 -0600)
This change aligns the preprocessor directive with the standard
configuration flag used for detecting 64-bit x86 architecture.

Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/config_distro_bootcmd.h

index 0a4e4b8..8ac3a4f 100644 (file)
 #define BOOTEFI_NAME "bootarm.efi"
 #elif defined(CONFIG_X86_RUN_32BIT)
 #define BOOTEFI_NAME "bootia32.efi"
-#elif defined(CONFIG_X86_RUN_64BIT)
+#elif defined(CONFIG_X86_64)
 #define BOOTEFI_NAME "bootx64.efi"
 #elif defined(CONFIG_ARCH_RV32I)
 #define BOOTEFI_NAME "bootriscv32.efi"