summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-03-16 15:41:21 +0100
committerTom Rini <trini@konsulko.com>2016-03-27 09:12:17 -0400
commitd990f5c834f1b42293fb53e4fd7f3aa988184196 (patch)
treecf5b1eb940a701a1b4734ca26851584fe4f6bf06 /arch/arm/cpu
parent53eb45ef40b696c0e2d9d5bf4b691a97e8d8ea64 (diff)
downloadu-boot-imx-d990f5c834f1b42293fb53e4fd7f3aa988184196.zip
u-boot-imx-d990f5c834f1b42293fb53e4fd7f3aa988184196.tar.gz
u-boot-imx-d990f5c834f1b42293fb53e4fd7f3aa988184196.tar.bz2
arm: Add support for HYP mode and LPAE page tables
We currently always modify the SVC versions of registers and only support the short descriptor PTE format. Some boards however (like the RPi2) run in HYP mode. There, we need to modify the HYP version of system registers and HYP mode only supports the long descriptor PTE format. So this patch introduces support for both long descriptor PTEs and HYP mode registers. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/armv7/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/Kconfig b/arch/arm/cpu/armv7/Kconfig
index 6c5d5dd..afeaac8 100644
--- a/arch/arm/cpu/armv7/Kconfig
+++ b/arch/arm/cpu/armv7/Kconfig
@@ -31,4 +31,12 @@ config ARMV7_VIRT
---help---
Say Y here to boot in hypervisor (HYP) mode when booting non-secure.
+config ARMV7_LPAE
+ boolean "Use LPAE page table format" if EXPERT
+ depends on CPU_V7
+ default n
+ ---help---
+ Say Y here to use the long descriptor page table format. This is
+ required if U-Boot runs in HYP mode.
+
endif