From: Chali Anis <[email protected]>

this permits to select one of efi stub bootm or efi handover protocol
tested on dell latitude and qemu.

Signed-off-by: Chali Anis <[email protected]>
---
 efi/payload/Kconfig | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/efi/payload/Kconfig b/efi/payload/Kconfig
index 8f76b00744e7..47238208c527 100644
--- a/efi/payload/Kconfig
+++ b/efi/payload/Kconfig
@@ -1,7 +1,10 @@
 # SPDX-License-Identifier: GPL-2.0-only
 
 config EFI_HANDOVER_PROTOCOL
+       bool "EFI Handover protocol"
        def_bool X86
 
 config EFI_PAYLOAD_BOOTM
-       def_bool !EFI_HANDOVER_PROTOCOL
+       bool "EFI bootm protocol"
+       depends on !EFI_HANDOVER_PROTOCOL
+       select BOOTM_FITIMAGE
-- 
2.34.1


Reply via email to