summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Compostella <jeremy.compostella@intel.com>2025-03-18 10:41:38 -0700
committerTom Rini <trini@konsulko.com>2025-04-04 12:26:36 -0600
commit33d84771e9dd7478344040765cff1b7b9b7c51a3 (patch)
tree7e37a6ab9da590a379759151b917349146f18abb
parent8eefb60e89b8c7c4a14750fee0f6bd7cf1fcc4f9 (diff)
Fix EFI boot file name definition for 64-bit x86
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>
-rw-r--r--include/config_distro_bootcmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
index 0a4e4b8ff85..8ac3a4feeb8 100644
--- a/include/config_distro_bootcmd.h
+++ b/include/config_distro_bootcmd.h
@@ -112,7 +112,7 @@
#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"