summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2015-09-13 03:30:11 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-10-03 16:41:36 +0100
commit63ce446c9b5787a94ed875bab20772e1a2b3092f (patch)
treeb1c0705a0dbf0067cbf38207fbe75bf119a5a435 /arch
parent0768330d46435f324a0b4860c889057524af17c2 (diff)
downloadop-kernel-dev-63ce446c9b5787a94ed875bab20772e1a2b3092f.zip
op-kernel-dev-63ce446c9b5787a94ed875bab20772e1a2b3092f.tar.gz
ARM: 8433/1: add a VMSPLIT_3G_OPT config option
Mimicking the same config option on x86, this allows for 1GB systems to have their RAM entirely mapped as low memory. Signed-off-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index f7bb1b7..0e74068 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1469,6 +1469,8 @@ choice
config VMSPLIT_3G
bool "3G/1G user/kernel split"
+ config VMSPLIT_3G_OPT
+ bool "3G/1G user/kernel split (for full 1G low memory)"
config VMSPLIT_2G
bool "2G/2G user/kernel split"
config VMSPLIT_1G
@@ -1480,6 +1482,7 @@ config PAGE_OFFSET
default PHYS_OFFSET if !MMU
default 0x40000000 if VMSPLIT_1G
default 0x80000000 if VMSPLIT_2G
+ default 0xB0000000 if VMSPLIT_3G_OPT
default 0xC0000000
config NR_CPUS
OpenPOWER on IntegriCloud