Commit 67dea022 authored by Michael Hennerich's avatar Michael Hennerich Committed by Bryan Wu

[Blackfin] arch: Cleanup Kconfig, fix comment and make sure we exclude...

[Blackfin] arch: Cleanup Kconfig, fix comment and make sure we exclude CCLK=SCLK for some configurations
Signed-off-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
parent 28a4acb4
...@@ -963,22 +963,12 @@ endchoice ...@@ -963,22 +963,12 @@ endchoice
endmenu endmenu
if (BF537 || BF533 || BF54x)
menu "CPU Frequency scaling" menu "CPU Frequency scaling"
source "drivers/cpufreq/Kconfig" source "drivers/cpufreq/Kconfig"
config CPU_FREQ
bool
default n
help
If you want to enable this option, you should select the
DPMC driver from Character Devices.
endmenu endmenu
endif
source "net/Kconfig" source "net/Kconfig"
source "drivers/Kconfig" source "drivers/Kconfig"
......
...@@ -121,7 +121,7 @@ static int __init __bfin_cpu_init(struct cpufreq_policy *policy) ...@@ -121,7 +121,7 @@ static int __init __bfin_cpu_init(struct cpufreq_policy *policy)
#ifdef CONFIG_CYCLES_CLOCKSOURCE #ifdef CONFIG_CYCLES_CLOCKSOURCE
/* /*
* Clocksource CYCLES is still CONTINUOUS but not longer MONOTONIC in case we enable * Clocksource CYCLES is still CONTINUOUS but not longer with a constant tick rate in case we enable
* CPU frequency scaling, since CYCLES runs off Core Clock. * CPU frequency scaling, since CYCLES runs off Core Clock.
*/ */
printk(KERN_WARNING "CPU frequency scaling not supported: Clocksource not suitable\n" 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,7 +134,7 @@ static int __init __bfin_cpu_init(struct cpufreq_policy *policy)
cclk = get_cclk(); cclk = get_cclk();
sclk = get_sclk(); sclk = get_sclk();
#if ANOMALY_05000273 #if ANOMALY_05000273 || (!defined(CONFIG_BF54x) && defined(CONFIG_BFIN_DCACHE))
min_cclk = sclk * 2; min_cclk = sclk * 2;
#else #else
min_cclk = sclk; min_cclk = sclk;
......
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