ARM: tegra: Use writel_relaxed in tegra_init_cache
authorColin Cross <ccross@android.com>
Sat, 22 Jan 2011 08:36:14 +0000 (00:36 -0800)
committerColin Cross <ccross@android.com>
Fri, 11 Feb 2011 01:50:43 +0000 (17:50 -0800)
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/common.c

index 84a7197..34559d1 100644 (file)
@@ -63,8 +63,8 @@ void __init tegra_init_cache(void)
 #ifdef CONFIG_CACHE_L2X0
        void __iomem *p = IO_ADDRESS(TEGRA_ARM_PERIF_BASE) + 0x3000;
 
-       writel(0x331, p + L2X0_TAG_LATENCY_CTRL);
-       writel(0x441, p + L2X0_DATA_LATENCY_CTRL);
+       writel_relaxed(0x331, p + L2X0_TAG_LATENCY_CTRL);
+       writel_relaxed(0x441, p + L2X0_DATA_LATENCY_CTRL);
 
        l2x0_init(p, 0x6C080001, 0x8200c3fe);
 #endif