bf60x: cpufreq: fix anomaly 05000273
authorSonic Zhang <sonic.zhang@analog.com>
Tue, 17 Jul 2012 05:40:15 +0000 (13:40 +0800)
committerBob Liu <lliubbo@gmail.com>
Tue, 24 Jul 2012 05:39:53 +0000 (13:39 +0800)
Anomaly 05000273 doesn't apply to bf60x.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
arch/blackfin/mach-common/cpufreq.c

index aee82a1a1ba4bb3f76c21ca5e9d38c6e8adbd554..c854a27cbeab2087d88b5711433b1247a94013e1 100644 (file)
@@ -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;