summaryrefslogtreecommitdiff
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorMursalin Akon <makon@nvidia.com>2012-01-30 17:20:44 -0800
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-03-30 09:13:13 -0700
commit56bf341335726cbfec392f7524ec0c393840335e (patch)
treededba7697b658bf0d45216c1c2f63f782aad858c /arch/arm/Kconfig
parent4a64b1e3e1e571e5b66719835f2c669cebaa894d (diff)
arm: include: make module space configurable
Make the module space a configurable option. The default value remains 16. The main goal of this CL is to enable large module, such as resman module of nvidia. Change-Id: I8a775a6a23c1a75562917d8ab8e4bbe29f08d7e5 Signed-off-by: Mursalin Akon <makon@nvidia.com> (cherry picked from commit 40aaad75bd32822137033fc7972d41ee30ff7bc9) Reviewed-on: http://git-master/r/91322 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Eric Brower <ebrower@nvidia.com> Reviewed-by: Allen Martin <amartin@nvidia.com>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig43
1 files changed, 43 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 1f35b63f8701..3c3b868948aa 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1479,6 +1479,49 @@ config PAGE_OFFSET
default 0x80000000 if VMSPLIT_2G
default 0xC0000000
+choice
+ prompt "Task size"
+ depends on MMU
+ default TASK_SIZE_1G_LESS_16M if VMSPLIT_1G
+ default TASK_SIZE_2G_LESS_16M if VMSPLIT_2G
+ default TASK_SIZE_3G_LESS_16M
+
+config TASK_SIZE_1G_LESS_16M
+ bool "Task size is 1GiB less 16MiB"
+ depends on VMSPLIT_1G
+
+config TASK_SIZE_1G_LESS_24M
+ bool "Task size is 1GiB less 24MiB"
+ depends on VMSPLIT_1G
+
+config TASK_SIZE_2G_LESS_16M
+ bool "Task size is 2GiB less 16MiB"
+ depends on VMSPLIT_2G
+
+config TASK_SIZE_2G_LESS_24M
+ bool "Task size is 2GiB less 24MiB"
+ depends on VMSPLIT_2G
+
+config TASK_SIZE_3G_LESS_16M
+ bool "Task size is 3GiB less 16MiB"
+ depends on VMSPLIT_3G
+
+config TASK_SIZE_3G_LESS_24M
+ bool "Task size is 3GiB less 24MiB"
+ depends on VMSPLIT_3G
+
+endchoice
+
+config TASK_SIZE
+ hex
+ depends on MMU
+ default 0x3E800000 if TASK_SIZE_1G_LESS_24M
+ default 0x3F000000 if TASK_SIZE_1G_LESS_16M
+ default 0x7E800000 if TASK_SIZE_2G_LESS_24M
+ default 0x7F000000 if TASK_SIZE_2G_LESS_16M
+ default 0xBE800000 if TASK_SIZE_3G_LESS_24M
+ default 0xBF000000
+
config NR_CPUS
int "Maximum number of CPUs (2-32)"
range 2 32