summaryrefslogtreecommitdiff
path: root/gummiboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'gummiboot.c')
-rw-r--r--gummiboot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gummiboot.c b/gummiboot.c
index 5dc2461..2d3caec 100644
--- a/gummiboot.c
+++ b/gummiboot.c
@@ -1237,8 +1237,10 @@ EFI_STATUS EFIAPI efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) {
config_load(&config, root_dir, loaded_image_path);
FreePool(loaded_image_path);
+#ifdef __x86_64__
/* add fallback entry to the end of the list */
config_entry_add_loader(&config, root_dir, L"fallback", L"EFI default loader", L"\\EFI\\BOOT\\BOOTX64.EFI");
+#endif
/* select entry by configured pattern or EFI LoaderDefaultEntry= variable*/
config_default_entry_select(&config);