summaryrefslogtreecommitdiff
path: root/SOURCES/t2linux.patch
diff options
context:
space:
mode:
Diffstat (limited to 'SOURCES/t2linux.patch')
-rw-r--r--SOURCES/t2linux.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/SOURCES/t2linux.patch b/SOURCES/t2linux.patch
index e167e73..dc2e561 100644
--- a/SOURCES/t2linux.patch
+++ b/SOURCES/t2linux.patch
@@ -8714,7 +8714,7 @@ index bfa30625f..3d99acc1a 100644
static bool efi_noinitrd;
static bool efi_nosoftreserve;
-@@ -73,6 +74,8 @@ efi_status_t efi_parse_options(char const *cmdline)
+@@ -75,6 +76,8 @@
efi_loglevel = CONSOLE_LOGLEVEL_QUIET;
} else if (!strcmp(param, "noinitrd")) {
efi_noinitrd = true;
@@ -8722,19 +8722,19 @@ index bfa30625f..3d99acc1a 100644
+ efi_apple_set_os = true;
} else if (IS_ENABLED(CONFIG_X86_64) && !strcmp(param, "no5lvl")) {
efi_no5lvl = true;
- } else if (!strcmp(param, "efi") && val) {
+ } else if (IS_ENABLED(CONFIG_ARCH_HAS_MEM_ENCRYPT) &&
diff --git a/drivers/firmware/efi/libstub/efistub.h b/drivers/firmware/efi/libstub/efistub.h
index 212687c30..21b414d09 100644
--- a/drivers/firmware/efi/libstub/efistub.h
+++ b/drivers/firmware/efi/libstub/efistub.h
-@@ -38,6 +38,7 @@ extern bool efi_nochunk;
- extern bool efi_nokaslr;
+@@ -39,6 +39,7 @@
extern int efi_loglevel;
+ extern int efi_mem_encrypt;
extern bool efi_novamap;
+extern bool efi_apple_set_os;
-
extern const efi_system_table_t *efi_system_table;
+ typedef union efi_dxe_services_table efi_dxe_services_table_t;
@@ -825,6 +826,19 @@ union apple_properties_protocol {
} mixed_mode;
};