ARM: tegra: Implement 6395/1 for Tegra
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Wed, 14 Nov 2012 14:27:23 +0000 (16:27 +0200)
committerStephen Warren <swarren@nvidia.com>
Wed, 14 Nov 2012 20:30:06 +0000 (13:30 -0700)
This patch implements ARM linux patch 6395/1 for Tegra. See commit
1a8e41c "ARM: 6395/1: VExpress: Set bit 22 in the PL310 (cache
controller) AuxCtlr register" for details.

Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
[swarren: added commit subject for referenced patch]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/common.c

index 89d3ebc..3e03e5f 100644 (file)
@@ -121,7 +121,7 @@ static void __init tegra_init_cache(void)
 
        cache_type = readl(p + L2X0_CACHE_TYPE);
        aux_ctrl = (cache_type & 0x700) << (17-8);
-       aux_ctrl |= 0x7C000001;
+       aux_ctrl |= 0x7C400001;
 
        l2x0_of_init(aux_ctrl, 0x8200c3fe);
 #endif