From: Heinrich Schuchardt Date: Fri, 24 Nov 2017 21:32:35 +0000 (+0100) Subject: distro bootcmd: define bootloader name for x86 X-Git-Tag: v2018.01-rc1~28^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a53fbf4046c5ec5b4ca1bdd812416a9d45558f0a;p=u-boot 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 Reviewed-by: Simon Glass Reviewed-by: Bin Meng --- diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h index e0d0034ed3..5c469a23fa 100644 --- a/include/config_distro_bootcmd.h +++ b/include/config_distro_bootcmd.h @@ -91,6 +91,10 @@ #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