[PATCH] efi_loader: optional persistence of variables

Tom Saeger tom.saeger at oracle.com
Tue Mar 22 22:21:10 CET 2022


Since be66b89da306 ("efi_loader: configuration of variables store")
the choice of EFI_VARIABLE_FILE_STORE or EFI_MM_COMM_TEE
is mutually-exclusive, however efi_var_to_file also allows
for "neither".  Set Kconfig choice optional.

Signed-off-by: Tom Saeger <tom.saeger at oracle.com>
---
 lib/efi_loader/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index e5e35fe51f65..9add2a286ff4 100644
--- a/lib/efi_loader/Kconfig
+++ b/lib/efi_loader/Kconfig
@@ -44,6 +44,7 @@ config EFI_SETUP_EARLY
 
 choice
 	prompt "Store for non-volatile UEFI variables"
+	optional
 	default EFI_VARIABLE_FILE_STORE
 	help
 	  Select where non-volatile UEFI variables shall be stored.

base-commit: 5f68470d69f853b1652ebe93525b60064717fe2e
-- 
2.35.1.2



More information about the U-Boot mailing list