Skip to content

Commit

Permalink
ARM: tegra: Use writel_relaxed in tegra_init_cache
Browse files Browse the repository at this point in the history
Signed-off-by: Colin Cross <ccross@android.com>
  • Loading branch information
Colin Cross committed Feb 11, 2011
1 parent f2b6133 commit 535371c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/mach-tegra/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 535371c

Please sign in to comment.