diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/Kconfig | 10 | ||||
-rw-r--r-- | arch/blackfin/mach-common/cpufreq.c | 4 |
2 files changed, 2 insertions, 12 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index 795d0ac67c21..7f1ab802537f 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -963,22 +963,12 @@ endchoice | |||
963 | 963 | ||
964 | endmenu | 964 | endmenu |
965 | 965 | ||
966 | if (BF537 || BF533 || BF54x) | ||
967 | |||
968 | menu "CPU Frequency scaling" | 966 | menu "CPU Frequency scaling" |
969 | 967 | ||
970 | source "drivers/cpufreq/Kconfig" | 968 | source "drivers/cpufreq/Kconfig" |
971 | 969 | ||
972 | config CPU_FREQ | ||
973 | bool | ||
974 | default n | ||
975 | help | ||
976 | If you want to enable this option, you should select the | ||
977 | DPMC driver from Character Devices. | ||
978 | endmenu | 970 | endmenu |
979 | 971 | ||
980 | endif | ||
981 | |||
982 | source "net/Kconfig" | 972 | source "net/Kconfig" |
983 | 973 | ||
984 | source "drivers/Kconfig" | 974 | source "drivers/Kconfig" |
diff --git a/arch/blackfin/mach-common/cpufreq.c b/arch/blackfin/mach-common/cpufreq.c index ed81e00d20e1..dd1515e4094c 100644 --- a/arch/blackfin/mach-common/cpufreq.c +++ b/arch/blackfin/mach-common/cpufreq.c | |||
@@ -121,7 +121,7 @@ static int __init __bfin_cpu_init(struct cpufreq_policy *policy) | |||
121 | 121 | ||
122 | #ifdef CONFIG_CYCLES_CLOCKSOURCE | 122 | #ifdef CONFIG_CYCLES_CLOCKSOURCE |
123 | /* | 123 | /* |
124 | * Clocksource CYCLES is still CONTINUOUS but not longer MONOTONIC in case we enable | 124 | * Clocksource CYCLES is still CONTINUOUS but not longer with a constant tick rate in case we enable |
125 | * CPU frequency scaling, since CYCLES runs off Core Clock. | 125 | * CPU frequency scaling, since CYCLES runs off Core Clock. |
126 | */ | 126 | */ |
127 | printk(KERN_WARNING "CPU frequency scaling not supported: Clocksource not suitable\n" | 127 | printk(KERN_WARNING "CPU frequency scaling not supported: Clocksource not suitable\n" |
@@ -134,7 +134,7 @@ static int __init __bfin_cpu_init(struct cpufreq_policy *policy) | |||
134 | cclk = get_cclk(); | 134 | cclk = get_cclk(); |
135 | sclk = get_sclk(); | 135 | sclk = get_sclk(); |
136 | 136 | ||
137 | #if ANOMALY_05000273 | 137 | #if ANOMALY_05000273 || (!defined(CONFIG_BF54x) && defined(CONFIG_BFIN_DCACHE)) |
138 | min_cclk = sclk * 2; | 138 | min_cclk = sclk * 2; |
139 | #else | 139 | #else |
140 | min_cclk = sclk; | 140 | min_cclk = sclk; |