diff options
-rw-r--r-- | arch/mips/Kconfig | 3 | ||||
-rw-r--r-- | arch/mips/kernel/cpufreq/Kconfig | 27 |
2 files changed, 30 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index e7f385444d41..435838ec9591 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -2161,6 +2161,7 @@ config MMU | |||
2161 | 2161 | ||
2162 | config I8253 | 2162 | config I8253 |
2163 | bool | 2163 | bool |
2164 | select MIPS_EXTERNAL_TIMER | ||
2164 | 2165 | ||
2165 | config ZONE_DMA32 | 2166 | config ZONE_DMA32 |
2166 | bool | 2167 | bool |
@@ -2237,6 +2238,8 @@ source "kernel/power/Kconfig" | |||
2237 | 2238 | ||
2238 | endmenu | 2239 | endmenu |
2239 | 2240 | ||
2241 | source "arch/mips/kernel/cpufreq/Kconfig" | ||
2242 | |||
2240 | source "net/Kconfig" | 2243 | source "net/Kconfig" |
2241 | 2244 | ||
2242 | source "drivers/Kconfig" | 2245 | source "drivers/Kconfig" |
diff --git a/arch/mips/kernel/cpufreq/Kconfig b/arch/mips/kernel/cpufreq/Kconfig new file mode 100644 index 000000000000..37983a15dabe --- /dev/null +++ b/arch/mips/kernel/cpufreq/Kconfig | |||
@@ -0,0 +1,27 @@ | |||
1 | # | ||
2 | # CPU Frequency scaling | ||
3 | # | ||
4 | |||
5 | config MIPS_EXTERNAL_TIMER | ||
6 | bool | ||
7 | |||
8 | config MIPS_CPUFREQ | ||
9 | bool | ||
10 | default y | ||
11 | depends on CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER | ||
12 | |||
13 | if MIPS_CPUFREQ | ||
14 | |||
15 | menu "CPU Frequency scaling" | ||
16 | |||
17 | source "drivers/cpufreq/Kconfig" | ||
18 | |||
19 | if CPU_FREQ | ||
20 | |||
21 | comment "CPUFreq processor drivers" | ||
22 | |||
23 | endif # CPU_FREQ | ||
24 | |||
25 | endmenu | ||
26 | |||
27 | endif # MIPS_CPUFREQ | ||