aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-04-11 00:41:52 +0200
committerAlexander Graf <agraf@suse.de>2018-04-23 21:34:28 +0200
commitc524997acb3d322e1bbd36c06ad02ef589705e7c (patch)
tree0a44b211590ac3b9816347da9cecad87d9ceeea5
parentd8d8997bbce7ff81799cb20795bdf97db9f8d5f2 (diff)
downloadu-boot-c524997acb3d322e1bbd36c06ad02ef589705e7c.zip
u-boot-c524997acb3d322e1bbd36c06ad02ef589705e7c.tar.gz
u-boot-c524997acb3d322e1bbd36c06ad02ef589705e7c.tar.bz2
efi_loader: no support for ARMV7_NONSEC=y
We do not support bootefi booting ARMv7 in non-secure mode. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r--doc/README.uefi2
-rw-r--r--lib/efi_loader/Kconfig2
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/README.uefi b/doc/README.uefi
index 7403be3..bb89b7a 100644
--- a/doc/README.uefi
+++ b/doc/README.uefi
@@ -324,6 +324,8 @@ This driver is only available if U-Boot is configured with
* persistence
* runtime support
+* support bootefi booting ARMv7 in non-secure mode (CONFIG_ARMV7_NONSEC=y)
+
## Links
* [1](http://uefi.org/specifications)
diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index 83d75c4..d38780b 100644
--- a/lib/efi_loader/Kconfig
+++ b/lib/efi_loader/Kconfig
@@ -1,6 +1,8 @@
config EFI_LOADER
bool "Support running EFI Applications in U-Boot"
depends on (ARM || X86) && OF_LIBFDT
+ # We do not support bootefi booting ARMv7 in non-secure mode
+ depends on !ARMV7_NONSEC
# We need EFI_STUB_64BIT to be set on x86_64 with EFI_STUB
depends on !EFI_STUB || !X86_64 || EFI_STUB_64BIT
# We need EFI_STUB_32BIT to be set on x86_32 with EFI_STUB