All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/1] distro bootcmd: define bootloader name for x86
@ 2017-11-24 21:32 Heinrich Schuchardt
  2017-11-26 11:39 ` Simon Glass
  2017-11-30  5:27 ` Bin Meng
  0 siblings, 2 replies; 4+ messages in thread
From: Heinrich Schuchardt @ 2017-11-24 21:32 UTC (permalink / raw)
  To: u-boot

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>
---
 include/config_distro_bootcmd.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
index e0d0034ed3..eb2bdfa39d 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
 
-- 
2.15.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 1/1] distro bootcmd: define bootloader name for x86
  2017-11-24 21:32 [U-Boot] [PATCH 1/1] distro bootcmd: define bootloader name for x86 Heinrich Schuchardt
@ 2017-11-26 11:39 ` Simon Glass
  2017-11-30  5:27 ` Bin Meng
  1 sibling, 0 replies; 4+ messages in thread
From: Simon Glass @ 2017-11-26 11:39 UTC (permalink / raw)
  To: u-boot

On 24 November 2017 at 14:32, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
> 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>
> ---
>  include/config_distro_bootcmd.h | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 1/1] distro bootcmd: define bootloader name for x86
  2017-11-24 21:32 [U-Boot] [PATCH 1/1] distro bootcmd: define bootloader name for x86 Heinrich Schuchardt
  2017-11-26 11:39 ` Simon Glass
@ 2017-11-30  5:27 ` Bin Meng
  2017-11-30  6:00   ` Bin Meng
  1 sibling, 1 reply; 4+ messages in thread
From: Bin Meng @ 2017-11-30  5:27 UTC (permalink / raw)
  To: u-boot

On Sat, Nov 25, 2017 at 5:32 AM, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
> 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>
> ---
>  include/config_distro_bootcmd.h | 4 ++++
>  1 file changed, 4 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 1/1] distro bootcmd: define bootloader name for x86
  2017-11-30  5:27 ` Bin Meng
@ 2017-11-30  6:00   ` Bin Meng
  0 siblings, 0 replies; 4+ messages in thread
From: Bin Meng @ 2017-11-30  6:00 UTC (permalink / raw)
  To: u-boot

On Thu, Nov 30, 2017 at 1:27 PM, Bin Meng <bmeng.cn@gmail.com> wrote:
> On Sat, Nov 25, 2017 at 5:32 AM, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>> 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>
>> ---
>>  include/config_distro_bootcmd.h | 4 ++++
>>  1 file changed, 4 insertions(+)
>>
>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

applied to u-boot-x86, thanks!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-11-30  6:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-24 21:32 [U-Boot] [PATCH 1/1] distro bootcmd: define bootloader name for x86 Heinrich Schuchardt
2017-11-26 11:39 ` Simon Glass
2017-11-30  5:27 ` Bin Meng
2017-11-30  6:00   ` Bin Meng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.