aboutsummaryrefslogtreecommitdiffstats
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
parentbf609: add adv7511 display support (diff)
downloadlinux-dev-7c7d02772f66350a837f30505d4c5496fa0087f3.tar.xz
linux-dev-7c7d02772f66350a837f30505d4c5496fa0087f3.zip
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>
-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 aee82a1a1ba4..c854a27cbeab 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;