aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-08-25 16:03:32 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-09-01 07:06:33 -0400
commit8d5796d2ec6b5a4e7a52861144e63af438d6f8f7 (patch)
tree9c348b627862a7408aeafdee30cacb08ea69fd60 /arch/arm/Kconfig
parent2d4b6c9aeb94cb9cb5c250f23e81e6d00b461372 (diff)
[ARM] 5222/1: Allow configuring user:kernel split via Kconfig
This patch adds a config option (CONFIG_VMSPLIT_*) to allow choosing between 3:1, 2:2 and 1:3 user:kernel memory splits. Tested-by: Riku Voipio <riku.voipio@iki.fi> Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index c6b248d19c79..4eb816c4df7d 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -311,6 +311,7 @@ config ARCH_IOP13XX
311 select PLAT_IOP 311 select PLAT_IOP
312 select PCI 312 select PCI
313 select ARCH_SUPPORTS_MSI 313 select ARCH_SUPPORTS_MSI
314 select VMSPLIT_1G
314 help 315 help
315 Support for Intel's IOP13XX (XScale) family of processors. 316 Support for Intel's IOP13XX (XScale) family of processors.
316 317
@@ -739,6 +740,29 @@ config SMP
739 740
740 If you don't know what to do here, say N. 741 If you don't know what to do here, say N.
741 742
743choice
744 prompt "Memory split"
745 default VMSPLIT_3G
746 help
747 Select the desired split between kernel and user memory.
748
749 If you are not absolutely sure what you are doing, leave this
750 option alone!
751
752 config VMSPLIT_3G
753 bool "3G/1G user/kernel split"
754 config VMSPLIT_2G
755 bool "2G/2G user/kernel split"
756 config VMSPLIT_1G
757 bool "1G/3G user/kernel split"
758endchoice
759
760config PAGE_OFFSET
761 hex
762 default 0x40000000 if VMSPLIT_1G
763 default 0x80000000 if VMSPLIT_2G
764 default 0xC0000000
765
742config NR_CPUS 766config NR_CPUS
743 int "Maximum number of CPUs (2-32)" 767 int "Maximum number of CPUs (2-32)"
744 range 2 32 768 range 2 32