aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2008-05-06 23:41:26 -0400
committerBryan Wu <cooloney@kernel.org>2008-05-06 23:41:26 -0400
commit67dea022d84f7c2b1e4d8c74a16fb07bf1a7d8f0 (patch)
tree06db52ae1505db48a7ea2a9aa9481e6241d8b14c /arch/blackfin/mach-common
parent28a4acb48586dc21d2d14a75a7aab7be78b7c83b (diff)
[Blackfin] arch: Cleanup Kconfig, fix comment and make sure we exclude CCLK=SCLK for some configurations
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-common')
-rw-r--r--arch/blackfin/mach-common/cpufreq.c4
1 files changed, 2 insertions, 2 deletions
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;