summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-30 01:28:54 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-30 01:28:54 +0200
commit7bcadb06072bccdda7eebb8f9217e63745cf30b1 (patch)
tree1a9471aea9638f73eb5cd2b43ca709f4ca8589ff /target/linux
parent96b68fb7047d2d355a6d3cc8409a0f1db95acec9 (diff)
combine cubox-i kernel configs, make SMP, PREEMPT and HIGHMEM configurable
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/Config.in1
-rw-r--r--target/linux/config/Config.in.kernel33
2 files changed, 27 insertions, 7 deletions
diff --git a/target/linux/Config.in b/target/linux/Config.in
index 778f4aa7c..03c4f079e 100644
--- a/target/linux/Config.in
+++ b/target/linux/Config.in
@@ -1,3 +1,4 @@
+source target/linux/config/Config.in.kernel
source target/linux/config/Config.in.cpu
source target/linux/config/Config.in.block
source target/linux/config/Config.in.flash
diff --git a/target/linux/config/Config.in.kernel b/target/linux/config/Config.in.kernel
index aed028f79..e6dc6d6e9 100644
--- a/target/linux/config/Config.in.kernel
+++ b/target/linux/config/Config.in.kernel
@@ -106,12 +106,6 @@ config ADK_KERNEL_CPU_MIPS64_R1
config ADK_KERNEL_CPU_MIPS64_R2
boolean
-config ADK_KERNEL_PREEMPT
- boolean
-
-config ADK_KERNEL_THUMB2_KERNEL
- boolean
-
# page size
config ADK_KERNEL_PAGE_SIZE_4KB
boolean
@@ -119,10 +113,13 @@ config ADK_KERNEL_PAGE_SIZE_4KB
config ADK_KERNEL_PAGE_SIZE_16KB
boolean
-# ABI
+# ARM specific
config ADK_KERNEL_AEABI
boolean
+config ADK_KERNEL_THUMB2_KERNEL
+ boolean
+
# endianess
config ADK_KERNEL_CPU_BIG_ENDIAN
default y if ADK_big
@@ -131,3 +128,25 @@ config ADK_KERNEL_CPU_BIG_ENDIAN
config ADK_KERNEL_CPU_LITTLE_ENDIAN
default y if ADK_little
boolean
+
+menu "Kernel options"
+
+config ADK_KERNEL_SMP
+ prompt "Enable symmetric multi processing"
+ boolean
+ default y if ADK_TARGET_CUBOX_I4PRO
+ default y if ADK_TARGET_CUBOX_I2ULTRA
+ default n
+
+config ADK_KERNEL_HIGHMEM
+ prompt "Enable high memory"
+ boolean
+ default y if ADK_TARGET_CUBOX_I4PRO
+ default n
+
+config ADK_KERNEL_PREEMPT
+ prompt "Enable preemptive kernel"
+ boolean
+ default n
+
+endmenu