Commit a53fbf4046c5ec5b4ca1bdd812416a9d45558f0a

Authored by Heinrich Schuchardt
Committed by Bin Meng
1 parent 254752494a

distro bootcmd: define bootloader name for x86

Currently X86 does not properly support distro defaults.
This patch is only a partial fix.

It provides the name of the bootloader EFI application
for the X86 architecture.

The architecture dependent file names are defined in the UEFI
specification.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff

include/config_distro_bootcmd.h
... ... @@ -91,6 +91,10 @@
91 91 #define BOOTEFI_NAME "bootaa64.efi"
92 92 #elif defined(CONFIG_ARM)
93 93 #define BOOTEFI_NAME "bootarm.efi"
  94 +#elif defined(CONFIG_X86_RUN_32BIT)
  95 +#define BOOTEFI_NAME "bootia32.efi"
  96 +#elif defined(CONFIG_X86_RUN_64BIT)
  97 +#define BOOTEFI_NAME "bootx64.efi"
94 98 #endif
95 99 #endif
96 100