Add a new EFI flag to indicate whether secure boot is enabled by UEFI
firmware or not.

Signed-off-by: Chester Lin <c...@suse.com>
---
 include/linux/efi.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/efi.h b/include/linux/efi.h
index 315126b2f5e9..82a19bb0237a 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -784,6 +784,7 @@ extern int __init efi_setup_pcdp_console(char *);
 #define EFI_MEM_ATTR           10      /* Did firmware publish an 
EFI_MEMORY_ATTRIBUTES table? */
 #define EFI_MEM_NO_SOFT_RESERVE        11      /* Is the kernel configured to 
ignore soft reservations? */
 #define EFI_PRESERVE_BS_REGIONS        12      /* Are EFI boot-services memory 
segments available? */
+#define EFI_SECURE_BOOT                13      /* Is EFI secure-boot enabled? 
*/
 
 #ifdef CONFIG_EFI
 /*
-- 
2.26.1

Reply via email to