Merge tag 'x86_boot_for_v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
[sfrench/cifs-2.6.git] / arch / x86 / Kconfig
index e9ede4c4c27f6ef977119ae75cf5285aeebcb1b3..9f8c03b347f9e2a2a7159332268913882e42cc93 100644 (file)
@@ -1981,6 +1981,23 @@ config EFI_STUB
 
          See Documentation/admin-guide/efi-stub.rst for more information.
 
+config EFI_HANDOVER_PROTOCOL
+       bool "EFI handover protocol (DEPRECATED)"
+       depends on EFI_STUB
+       default y
+       help
+         Select this in order to include support for the deprecated EFI
+         handover protocol, which defines alternative entry points into the
+         EFI stub.  This is a practice that has no basis in the UEFI
+         specification, and requires a priori knowledge on the part of the
+         bootloader about Linux/x86 specific ways of passing the command line
+         and initrd, and where in memory those assets may be loaded.
+
+         If in doubt, say Y. Even though the corresponding support is not
+         present in upstream GRUB or other bootloaders, most distros build
+         GRUB with numerous downstream patches applied, and may rely on the
+         handover protocol as as result.
+
 config EFI_MIXED
        bool "EFI mixed-mode support"
        depends on EFI_STUB && X86_64