summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-08-06 21:34:29 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-08 18:50:06 +0200
commit685789d32423ad15dcb901353b2e268e83cd1e9d (patch)
tree14949cd46a9f8cd2fd7c887e4c89e86bd8b807b3 /target
parentd1d2e3ed15addbd68f4070bf04460438f3a5b6c4 (diff)
allow to configure page size for mips64
Diffstat (limited to 'target')
-rw-r--r--target/linux/config/Config.in.kernel25
1 files changed, 18 insertions, 7 deletions
diff --git a/target/linux/config/Config.in.kernel b/target/linux/config/Config.in.kernel
index 3f2541a7c..fee170b73 100644
--- a/target/linux/config/Config.in.kernel
+++ b/target/linux/config/Config.in.kernel
@@ -104,13 +104,6 @@ config ADK_KERNEL_CPU_MIPS64_R1
config ADK_KERNEL_CPU_MIPS64_R2
boolean
-# page size
-config ADK_KERNEL_PAGE_SIZE_4KB
- boolean
-
-config ADK_KERNEL_PAGE_SIZE_16KB
- boolean
-
# ARM specific
config ADK_KERNEL_AEABI
boolean
@@ -212,4 +205,22 @@ config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE
depends on !ADK_LINUX_MICROBLAZE
default y
+choice
+prompt "Page size"
+depends on ADK_LINUX_MIPS64
+
+config ADK_KERNEL_PAGE_SIZE_4KB
+ prompt "4kB"
+ boolean
+
+config ADK_KERNEL_PAGE_SIZE_16KB
+ prompt "16kB"
+ boolean
+
+config ADK_KERNEL_PAGE_SIZE_64KB
+ prompt "64kB"
+ boolean
+
+endchoice
+
endmenu