]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: 8433/1: add a VMSPLIT_3G_OPT config option
authorNicolas Pitre <nicolas.pitre@linaro.org>
Sun, 13 Sep 2015 02:30:11 +0000 (03:30 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 3 Oct 2015 15:41:36 +0000 (16:41 +0100)
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>
arch/arm/Kconfig

index f7bb1b73fd229f751d51846af32abfb7af647dcb..0e740686efd32c714dd6747286d062f46f45b86f 100644 (file)
@@ -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