From: AKASHI Takahiro Date: Tue, 21 Apr 2020 00:38:38 +0000 (+0900) Subject: efi_loader: remove CONFIG_EFI_SECURE_BOOT in efi_loader.h X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/index.xml?a=commitdiff_plain;h=d9f3307a826b0b4be818c26dd3f5db49095f846b;p=u-boot.git efi_loader: remove CONFIG_EFI_SECURE_BOOT in efi_loader.h The guard doesn't make any difference, so remove it. Signed-off-by: AKASHI Takahiro Suggested-by: Heinrich Schuchardt Reviewed-by: Heinrich Schuchardt --- diff --git a/include/efi_loader.h b/include/efi_loader.h index b7bccf50b3..f92bfe57e6 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -11,6 +11,7 @@ #include #include #include +#include #include static inline int guidcmp(const void *g1, const void *g2) @@ -702,9 +703,6 @@ void efi_deserialize_load_option(struct efi_load_option *lo, u8 *data); unsigned long efi_serialize_load_option(struct efi_load_option *lo, u8 **data); efi_status_t efi_bootmgr_load(efi_handle_t *handle); -#ifdef CONFIG_EFI_SECURE_BOOT -#include - /** * efi_image_regions - A list of memory regions * @@ -774,7 +772,6 @@ bool efi_secure_boot_enabled(void); bool efi_image_parse(void *efi, size_t len, struct efi_image_regions **regp, WIN_CERTIFICATE **auth, size_t *auth_len); -#endif /* CONFIG_EFI_SECURE_BOOT */ #else /* CONFIG_IS_ENABLED(EFI_LOADER) */