summaryrefslogtreecommitdiff
path: root/target/linux/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-09 18:44:49 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-09 18:44:49 +0200
commit3b9f9fc8e3468e0930fe1ab952cbae3894c256f0 (patch)
treead2a16638951c59702e3a2278f6da97bc3bfb282 /target/linux/config
parent3ac37c8cfdbf621f223cbce7115ceb3306ad6f6a (diff)
parent86a2eb56549502f21ff753f6bce0ea32bb7a2cb7 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/linux/config')
-rw-r--r--target/linux/config/Config.in.kernel26
1 files changed, 19 insertions, 7 deletions
diff --git a/target/linux/config/Config.in.kernel b/target/linux/config/Config.in.kernel
index 3f2541a7c..461605efd 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,23 @@ config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE
depends on !ADK_LINUX_MICROBLAZE
default y
+choice
+prompt "Page size"
+depends on ADK_LINUX_MIPS64
+default ADK_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
+default ADK_KERNEL_PAGE_SIZE_4KB
+
+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