rk30: scu enable speculative linefills
author黄涛 <huangtao@rock-chips.com>
Sun, 7 Oct 2012 10:17:33 +0000 (18:17 +0800)
committer黄涛 <huangtao@rock-chips.com>
Sun, 7 Oct 2012 10:18:07 +0000 (18:18 +0800)
arch/arm/mach-rk30/platsmp.c

index 6c3ff7a051df17773dcab9327a46d91773426aa0..d44c80d4eeda80da61e688751bcef0d049719ff5 100755 (executable)
@@ -20,6 +20,7 @@
 
 #define SCU_CTRL             0x00
 #define   SCU_STANDBY_EN     (1 << 5)
+#define   SCU_SPECULATIVE_LINEFILLS_EN (1 << 3)
 
 #ifdef CONFIG_FIQ
 static void gic_raise_softirq_non_secure(const struct cpumask *mask, unsigned int irq)
@@ -130,7 +131,7 @@ void __init platform_smp_prepare_cpus(unsigned int max_cpus)
                set_cpu_present(i, true);
 #endif
 
-       writel_relaxed(readl_relaxed(RK30_SCU_BASE + SCU_CTRL) | SCU_STANDBY_EN, RK30_SCU_BASE + SCU_CTRL);
+       writel_relaxed(readl_relaxed(RK30_SCU_BASE + SCU_CTRL) | SCU_STANDBY_EN | SCU_SPECULATIVE_LINEFILLS_EN, RK30_SCU_BASE + SCU_CTRL);
 
        scu_enable(RK30_SCU_BASE);
 }