Commit 29a21004 authored by Dave Jones's avatar Dave Jones

[CPUFREQ] Fix ARM cpufreq governor selection

From: Russell King <rmk@arm.linux.org.uk>
parent 42124408
...@@ -336,14 +336,12 @@ config CPU_FREQ_SA1100 ...@@ -336,14 +336,12 @@ config CPU_FREQ_SA1100
bool bool
depends on CPU_FREQ && SA1100_LART depends on CPU_FREQ && SA1100_LART
default y default y
select CPU_FREQ_DEFAULT_GOV_USERSPACE
select CPU_FREQ_24_API if SYSCTL select CPU_FREQ_24_API if SYSCTL
config CPU_FREQ_SA1110 config CPU_FREQ_SA1110
bool bool
depends on CPU_FREQ && (SA1100_ASSABET || SA1100_CERF || SA1100_PT_SYSTEM3) depends on CPU_FREQ && (SA1100_ASSABET || SA1100_CERF || SA1100_PT_SYSTEM3)
default y default y
select CPU_FREQ_DEFAULT_GOV_USERSPACE
select CPU_FREQ_24_API if SYSCTL select CPU_FREQ_24_API if SYSCTL
config CPU_FREQ_INTEGRATOR config CPU_FREQ_INTEGRATOR
......
...@@ -13,7 +13,8 @@ config CPU_FREQ_PROC_INTF ...@@ -13,7 +13,8 @@ config CPU_FREQ_PROC_INTF
choice choice
prompt "Default CPUFreq governor" prompt "Default CPUFreq governor"
depends on CPU_FREQ depends on CPU_FREQ
default CPU_FREQ_DEFAULT_GOV_PERFORMANCE default CPU_FREQ_DEFAULT_GOV_PERFORMANCE if !CPU_FREQ_SA1100 && !CPU_FREQ_SA1110
default CPU_FREQ_DEFAULT_GOV_USERSPACE if CPU_FREQ_SA1100 || CPU_FREQ_SA1110
help help
This option sets which CPUFreq governor shall be loaded at This option sets which CPUFreq governor shall be loaded at
startup. If in doubt, select 'performance'. startup. If in doubt, select 'performance'.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment