]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
distro bootcmd: define bootloader name for x86
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 24 Nov 2017 21:32:35 +0000 (22:32 +0100)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 30 Nov 2017 05:50:17 +0000 (13:50 +0800)
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>
include/config_distro_bootcmd.h

index e0d0034ed344df59391f26cd58f79454b28afa1a..5c469a23fa7098f8fb998f79566ac6524c0a52df 100644 (file)
 #define BOOTEFI_NAME "bootaa64.efi"
 #elif defined(CONFIG_ARM)
 #define BOOTEFI_NAME "bootarm.efi"
+#elif defined(CONFIG_X86_RUN_32BIT)
+#define BOOTEFI_NAME "bootia32.efi"
+#elif defined(CONFIG_X86_RUN_64BIT)
+#define BOOTEFI_NAME "bootx64.efi"
 #endif
 #endif