summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/mx7
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-07-13 07:25:41 (GMT)
committerStefano Babic <sbabic@denx.de>2016-07-19 17:52:15 (GMT)
commitbe1a17ff689b0289bbf900813265e4525949eef7 (patch)
tree2d34bcc7da0d1f66ba9830fd36abbae007c9f44e /arch/arm/cpu/armv7/mx7
parent47855a5c3bf8aa2ad2bd48016d48c89bc1e2641c (diff)
downloadu-boot-be1a17ff689b0289bbf900813265e4525949eef7.tar.xz
mx7_common: use Kconfig for ARMv7 non-secure mode
Use existing Kconfig symbols to let the user configure whether to build a U-Boot with non-secure mode support or not. This also allows to enable virtualization extension easily. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'arch/arm/cpu/armv7/mx7')
-rw-r--r--arch/arm/cpu/armv7/mx7/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx7/Kconfig b/arch/arm/cpu/armv7/mx7/Kconfig
index ecfa4a2..dd51384 100644
--- a/arch/arm/cpu/armv7/mx7/Kconfig
+++ b/arch/arm/cpu/armv7/mx7/Kconfig
@@ -3,6 +3,8 @@ if ARCH_MX7
config MX7
bool
select ROM_UNIFIED_SECTIONS
+ select CPU_V7_HAS_VIRT
+ select CPU_V7_HAS_NONSEC
default y
config MX7D