aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2021-07-20 14:57:02 +0900
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-07-24 10:49:51 +0200
commit86a3d43bff414f30089b1b9a7b01234aca58763d (patch)
tree1bafc463c539f8e94d8c0a36793707883037ddad /include
parentc2cc60c1f93b9935c493fbe107ef8111e8baf200 (diff)
downloadu-boot-86a3d43bff414f30089b1b9a7b01234aca58763d.zip
u-boot-86a3d43bff414f30089b1b9a7b01234aca58763d.tar.gz
u-boot-86a3d43bff414f30089b1b9a7b01234aca58763d.tar.bz2
efi_loader: remove asm/setjmp.h from efi_api.h
In the commit c982874e930d ("efi_loader: refactor efi_setup_loaded_image()"), setjmp-related definitions were moved to efi_loaded_image_obj in efi_loader.h. So setjmp.h is no longer refererenced in efi_api.h. This also fixes some error when efi_api.h will be included in mkeficapsule.c. Fixes: c982874e930d ("efi_loader: refactor efi_setup_loaded_image()") Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include')
-rw-r--r--include/efi_api.h4
-rw-r--r--include/efi_loader.h1
2 files changed, 1 insertions, 4 deletions
diff --git a/include/efi_api.h b/include/efi_api.h
index 18a1adf..e854a8b 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -20,10 +20,6 @@
#include <charset.h>
#include <pe.h>
-#ifdef CONFIG_EFI_LOADER
-#include <asm/setjmp.h>
-#endif
-
/* UEFI spec version 2.8 */
#define EFI_SPECIFICATION_VERSION (2 << 16 | 80)
diff --git a/include/efi_loader.h b/include/efi_loader.h
index b81180c..e6d41cf 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -17,6 +17,7 @@
#include <pe.h>
struct blk_desc;
+struct jmp_buf_data;
static inline int guidcmp(const void *g1, const void *g2)
{