mirror of
https://xff.cz/git/u-boot/
synced 2025-09-25 04:21:18 +02:00
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 <takahiro.akashi@linaro.org> Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
committed by
Heinrich Schuchardt
parent
788bd90bf8
commit
d9f3307a82
@@ -11,6 +11,7 @@
|
|||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <part_efi.h>
|
#include <part_efi.h>
|
||||||
#include <efi_api.h>
|
#include <efi_api.h>
|
||||||
|
#include <image.h>
|
||||||
#include <pe.h>
|
#include <pe.h>
|
||||||
|
|
||||||
static inline int guidcmp(const void *g1, const void *g2)
|
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);
|
unsigned long efi_serialize_load_option(struct efi_load_option *lo, u8 **data);
|
||||||
efi_status_t efi_bootmgr_load(efi_handle_t *handle);
|
efi_status_t efi_bootmgr_load(efi_handle_t *handle);
|
||||||
|
|
||||||
#ifdef CONFIG_EFI_SECURE_BOOT
|
|
||||||
#include <image.h>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* efi_image_regions - A list of memory regions
|
* 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,
|
bool efi_image_parse(void *efi, size_t len, struct efi_image_regions **regp,
|
||||||
WIN_CERTIFICATE **auth, size_t *auth_len);
|
WIN_CERTIFICATE **auth, size_t *auth_len);
|
||||||
#endif /* CONFIG_EFI_SECURE_BOOT */
|
|
||||||
|
|
||||||
#else /* CONFIG_IS_ENABLED(EFI_LOADER) */
|
#else /* CONFIG_IS_ENABLED(EFI_LOADER) */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user