summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-07-13 00:25:41 -0700
committerStefano Babic <sbabic@denx.de>2016-07-19 19:52:15 +0200
commitbe1a17ff689b0289bbf900813265e4525949eef7 (patch)
tree2d34bcc7da0d1f66ba9830fd36abbae007c9f44e /arch/arm
parent47855a5c3bf8aa2ad2bd48016d48c89bc1e2641c (diff)
downloadu-boot-imx-be1a17ff689b0289bbf900813265e4525949eef7.zip
u-boot-imx-be1a17ff689b0289bbf900813265e4525949eef7.tar.gz
u-boot-imx-be1a17ff689b0289bbf900813265e4525949eef7.tar.bz2
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')
-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