summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2012-07-17 13:40:15 +0800
committerBob Liu <lliubbo@gmail.com>2012-07-24 13:39:53 +0800
commit7c7d02772f66350a837f30505d4c5496fa0087f3 (patch)
tree140675dc2f9ee94e258fece63cbf31db71809356 /arch/blackfin
parente942d619fdd8eb9194c1305ea5968ffb78619f0d (diff)
downloadop-kernel-dev-7c7d02772f66350a837f30505d4c5496fa0087f3.zip
op-kernel-dev-7c7d02772f66350a837f30505d4c5496fa0087f3.tar.gz
bf60x: cpufreq: fix anomaly 05000273
Anomaly 05000273 doesn't apply to bf60x. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/mach-common/cpufreq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/cpufreq.c b/arch/blackfin/mach-common/cpufreq.c
index aee82a1..c854a27 100644
--- a/arch/blackfin/mach-common/cpufreq.c
+++ b/arch/blackfin/mach-common/cpufreq.c
@@ -64,7 +64,8 @@ static void __init bfin_init_tables(unsigned long cclk, unsigned long sclk)
/* Anomaly 273 seems to still exist on non-BF54x w/dcache turned on */
#if ANOMALY_05000273 || ANOMALY_05000274 || \
- (!defined(CONFIG_BF54x) && defined(CONFIG_BFIN_EXTMEM_DCACHEABLE))
+ (!(defined(CONFIG_BF54x) || defined(CONFIG_BF60x)) \
+ && defined(CONFIG_BFIN_EXTMEM_DCACHEABLE))
min_cclk = sclk * 2;
#else
min_cclk = sclk;
OpenPOWER on IntegriCloud