summaryrefslogtreecommitdiffstats
path: root/common/recipes-bsp/gummiboot/files/0005-Auto-detect-both-x64-and-ia32-boot-.efi-payloads.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-bsp/gummiboot/files/0005-Auto-detect-both-x64-and-ia32-boot-.efi-payloads.patch')
-rw-r--r--common/recipes-bsp/gummiboot/files/0005-Auto-detect-both-x64-and-ia32-boot-.efi-payloads.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/common/recipes-bsp/gummiboot/files/0005-Auto-detect-both-x64-and-ia32-boot-.efi-payloads.patch b/common/recipes-bsp/gummiboot/files/0005-Auto-detect-both-x64-and-ia32-boot-.efi-payloads.patch
deleted file mode 100644
index 049218d3..00000000
--- a/common/recipes-bsp/gummiboot/files/0005-Auto-detect-both-x64-and-ia32-boot-.efi-payloads.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 58204c946ec8f626d1b5997188b17978fcba5c9b Mon Sep 17 00:00:00 2001
2Message-Id: <58204c946ec8f626d1b5997188b17978fcba5c9b.1367616193.git.dvhart@linux.intel.com>
3From: Darren Hart <dvhart@linux.intel.com>
4Date: Fri, 3 May 2013 14:21:25 -0700
5Subject: [PATCH] Auto detect both x64 and ia32 boot*.efi payloads
6
7The EFI specification documents /EFI/BOOT/bootx64.efi for x86_64
8machines and /EFI/BOOT/bootia32.efi for ia32 machines. Update the auto
9detection to allow for both.
10
11Signed-off-by: Darren Hart <dvhart@linux.intel.com>
12---
13 src/efi/gummiboot.c | 4 +++-
14 1 files changed, 3 insertions(+), 1 deletions(-)
15
16diff --git a/src/efi/gummiboot.c b/src/efi/gummiboot.c
17index 3013873..ed68934 100644
18--- a/src/efi/gummiboot.c
19+++ b/src/efi/gummiboot.c
20@@ -1941,7 +1941,9 @@ EFI_STATUS EFIAPI efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) {
21 config_entry_add_loader_auto(&config, loaded_image->DeviceHandle, root_dir, loaded_image_path,
22 L"auto-efi-shell", L"EFI Shell", L"\\shellx64.efi");
23 config_entry_add_loader_auto(&config, loaded_image->DeviceHandle, root_dir, loaded_image_path,
24- L"auto-efi-default", L"EFI Default Loader", L"\\EFI\\BOOT\\BOOTX64.EFI");
25+ L"auto-efi-default-64", L"EFI Default Loader (x64)", L"\\EFI\\BOOT\\BOOTX64.EFI");
26+ config_entry_add_loader_auto(&config, loaded_image->DeviceHandle, root_dir, loaded_image_path,
27+ L"auto-efi-default-32", L"EFI Default Loader (ia32)", L"\\EFI\\BOOT\\BOOTIA32.EFI");
28 config_entry_add_osx(&config);
29 efivar_set(L"LoaderEntriesAuto", config.entries_auto, FALSE);
30
31--
321.7.5.4
33