summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@openbsd.org>2018-06-15 23:47:14 +0200
committerAlexander Graf <agraf@suse.de>2018-07-25 14:57:43 +0200
commitd32e86bde8a31a49cf4a9b233ad91ecdfc96ba2a (patch)
treee776b6f2174ffcbe647f393daa8445fbb7284a08 /arch
parentf17f2001ebe1e8a78e0ef0f99e63134f91ee1354 (diff)
downloadu-boot-d32e86bde8a31a49cf4a9b233ad91ecdfc96ba2a.tar.gz
u-boot-d32e86bde8a31a49cf4a9b233ad91ecdfc96ba2a.tar.xz
u-boot-d32e86bde8a31a49cf4a9b233ad91ecdfc96ba2a.zip
ARM: HYP/non-sec: enable ARMV7_LPAE if HYP mode is supported
ARMV7_LPAE is required in order to enable the MMU in HYP mode. And we really want to enable the MMU in HYP mode such that we can enable the the caches. Otherwise U-Boot code (such as the EFI implementation) that runs in HYP mode will run at a snils pace. Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/Kconfig b/arch/arm/cpu/armv7/Kconfig
index 37a0be932e..73d57a2aae 100644
--- a/arch/arm/cpu/armv7/Kconfig
+++ b/arch/arm/cpu/armv7/Kconfig
@@ -53,7 +53,7 @@ config ARMV7_PSCI_NR_CPUS
config ARMV7_LPAE
bool "Use LPAE page table format" if EXPERT
depends on CPU_V7A
- default n
+ default y if ARMV7_VIRT
---help---
Say Y here to use the long descriptor page table format. This is
required if U-Boot runs in HYP mode.