summaryrefslogtreecommitdiff
path: root/target/waldux/config/Config.in.cpu
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2018-03-03 15:46:47 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-03-07 20:44:04 +0100
commit9bb871a0bb4c239239944d28bd4d5cfa19d84f62 (patch)
treeb1c2eee95a3b475748c89d0075f604bb159a3271 /target/waldux/config/Config.in.cpu
parenta4767b13763b91dfb0aa75d2985d63d7ed9cb64c (diff)
add support for waldux
Diffstat (limited to 'target/waldux/config/Config.in.cpu')
-rw-r--r--target/waldux/config/Config.in.cpu100
1 files changed, 100 insertions, 0 deletions
diff --git a/target/waldux/config/Config.in.cpu b/target/waldux/config/Config.in.cpu
new file mode 100644
index 000000000..f3ca3b4ad
--- /dev/null
+++ b/target/waldux/config/Config.in.cpu
@@ -0,0 +1,100 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+config ADK_WALDUX_KERNEL_MTRR
+ bool
+ default y if ADK_TARGET_CPU_WITH_MTRR
+ default n
+
+# hyper threading
+config ADK_WALDUX_KERNEL_PM_SLEEP_SMP
+ bool
+ default y if ADK_TARGET_CPU_WITH_HT
+ default n
+
+config ADK_WALDUX_KERNEL_X86_HT
+ bool
+ default y if ADK_TARGET_CPU_WITH_HT
+ default n
+
+config ADK_WALDUX_KERNEL_USE_GENERIC_SMP_HELPERS
+ bool
+ default y if ADK_TARGET_CPU_WITH_HT
+ default n
+
+menu "CPU frequency support"
+depends on ADK_TARGET_WITH_CPU_FREQ
+
+config ADK_WALDUX_KERNEL_CPU_FREQ
+ bool
+
+config ADK_WALDUX_KERNEL_CPU_FREQ_GOV_PERFORMANCE
+ bool
+
+config ADK_WALDUX_KERNEL_CPU_FREQ_GOV_POWERSAVE
+ bool
+
+config ADK_WALDUX_KERNEL_CPU_FREQ_GOV_USERSPACE
+ bool
+
+config ADK_WALDUX_KERNEL_CPU_FREQ_GOV_ONDEMAND
+ bool
+
+config ADK_WALDUX_KERNEL_CPU_FREQ_GOV_CONSERVATIVE
+ bool
+
+config ADK_WALDUX_KERNEL_CPUFREQ_DT_PLATDEV
+ bool
+
+config ADK_WALDUX_KERNEL_CPUFREQ_DT
+ bool "CPU frequency support DT"
+ select ADK_WALDUX_KERNEL_CPU_FREQ
+ select ADK_WALDUX_KERNEL_CPUFREQ_DT_PLATDEV
+ depends on ADK_TARGET_SYSTEM_ORANGE_PI0
+ default y if ADK_TARGET_SYSTEM_ORANGE_PI0
+ default n
+
+config ADK_WALDUX_KERNEL_ARM_IMX6Q_CPUFREQ
+ bool "CPU frequency support for IMX6 boards"
+ select ADK_WALDUX_KERNEL_CPU_FREQ
+ select ADK_WALDUX_KERNEL_REGULATOR
+ select ADK_WALDUX_KERNEL_REGULATOR_FIXED_VOLTAGE
+ select ADK_WALDUX_KERNEL_REGULATOR_ANATOP
+ select ADK_WALDUX_KERNEL_REGULATOR_PFUZE100
+ depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
+ default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
+ default n
+
+config ADK_WALDUX_KERNEL_ARM_BCM2835_CPUFREQ
+ bool "CPU frequency support for BCM28XX boards"
+ select ADK_WALDUX_KERNEL_CPU_FREQ
+ depends on ADK_TARGET_BOARD_BCM28XX
+ default y if ADK_TARGET_BOARD_BCM28XX
+ default n
+
+choice
+prompt "Governor"
+depends on ADK_WALDUX_KERNEL_ARM_BCM2835_CPUFREQ || ADK_WALDUX_KERNEL_ARM_IMX6_CPUFREQ
+
+config ADK_WALDUX_KERNEL_CPU_FREQ_DEFAULT_GOV_ONDEMAND
+ bool "ondemand"
+ select ADK_WALDUX_KERNEL_CPU_FREQ_GOV_ONDEMAND
+
+config ADK_WALDUX_KERNEL_CPU_FREQ_DEFAULT_GOV_PERFORMANCE
+ bool "performance"
+ select ADK_WALDUX_KERNEL_CPU_FREQ_GOV_PERFORMANCE
+
+config ADK_WALDUX_KERNEL_CPU_FREQ_DEFAULT_GOV_POWERSAVE
+ bool "powersave"
+ select ADK_WALDUX_KERNEL_CPU_FREQ_GOV_POWERSAVE
+
+config ADK_WALDUX_KERNEL_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
+ bool "conservative"
+ select ADK_WALDUX_KERNEL_CPU_FREQ_GOV_CONSERVATIVE
+
+config ADK_WALDUX_KERNEL_CPU_FREQ_DEFAULT_GOV_USERSPACE
+ bool "userspace"
+ select ADK_WALDUX_KERNEL_CPU_FREQ_GOV_USERSPACE
+
+endchoice
+endmenu