summaryrefslogtreecommitdiff
path: root/target/linux/config/Config.in.cpu
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-15 18:39:08 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-15 18:39:08 +0100
commit2a2b076cc5af5a86e5527a12efefa8c6d7ef0c42 (patch)
tree3133d04f42d96040e3afa237c26005990d424b1b /target/linux/config/Config.in.cpu
parent3427bba6f438f2db5fbd77acfdab51960afeeb19 (diff)
add cpu freq kernel stuff
Diffstat (limited to 'target/linux/config/Config.in.cpu')
-rw-r--r--target/linux/config/Config.in.cpu60
1 files changed, 60 insertions, 0 deletions
diff --git a/target/linux/config/Config.in.cpu b/target/linux/config/Config.in.cpu
index 17e82c3c3..678cb5696 100644
--- a/target/linux/config/Config.in.cpu
+++ b/target/linux/config/Config.in.cpu
@@ -36,3 +36,63 @@ config ADK_KERNEL_USE_GENERIC_SMP_HELPERS
config ADK_KERNEL_VFP
boolean
+menu "CPU support"
+
+config ADK_KERNEL_CPU_FREQ
+ boolean
+ default n
+
+config ADK_KERNEL_CPU_FREQ_GOV_PERFORMANCE
+ boolean
+ default n
+
+config ADK_KERNEL_CPU_FREQ_GOV_POWERSAVE
+ boolean
+ default n
+
+config ADK_KERNEL_CPU_FREQ_GOV_USERSPACE
+ boolean
+ default n
+
+config ADK_KERNEL_CPU_FREQ_GOV_ONDEMAND
+ boolean
+ default n
+
+config ADK_KERNEL_CPU_FREQ_GOV_CONSERVATIVE
+ boolean
+ default n
+
+config ADK_KERNEL_ARM_BCM2835_CPUFREQ
+ prompt "CPU frequency support"
+ boolean
+ select ADK_KERNEL_CPU_FREQ
+ default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
+
+choice
+prompt "Governor"
+depends on ADK_KERNEL_ARM_BCM2835_CPUFREQ
+
+config ADK_KERNEL_CPU_FREQ_DEFAULT_GOV_ONDEMAND
+ boolean "ondemand"
+ select ADK_KERNEL_CPU_FREQ_GOV_ONDEMAND
+
+config ADK_KERNEL_CPU_FREQ_DEFAULT_GOV_PERFORMANCE
+ boolean "performance"
+ select ADK_KERNEL_CPU_FREQ_GOV_PERFORMANCE
+
+config ADK_KERNEL_CPU_FREQ_DEFAULT_GOV_POWERSAVE
+ boolean "powersave"
+ select ADK_KERNEL_CPU_FREQ_GOV_POWERSAVE
+
+config ADK_KERNEL_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
+ boolean "conservative"
+ select ADK_KERNEL_CPU_FREQ_GOV_CONSERVATIVE
+
+config ADK_KERNEL_CPU_FREQ_DEFAULT_GOV_USERSPACE
+ boolean "userspace"
+ select ADK_KERNEL_CPU_FREQ_GOV_USERSPACE
+
+endchoice
+
+endmenu
+