aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-spear/spear13xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-spear/spear13xx.c')
-rw-r--r--arch/arm/mach-spear/spear13xx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-spear/spear13xx.c b/arch/arm/mach-spear/spear13xx.c
index 7aa6e8cf830f..c9897ea38980 100644
--- a/arch/arm/mach-spear/spear13xx.c
+++ b/arch/arm/mach-spear/spear13xx.c
@@ -38,15 +38,15 @@ void __init spear13xx_l2x0_init(void)
38 if (!IS_ENABLED(CONFIG_CACHE_L2X0)) 38 if (!IS_ENABLED(CONFIG_CACHE_L2X0))
39 return; 39 return;
40 40
41 writel_relaxed(0x06, VA_L2CC_BASE + L2X0_PREFETCH_CTRL); 41 writel_relaxed(0x06, VA_L2CC_BASE + L310_PREFETCH_CTRL);
42 42
43 /* 43 /*
44 * Program following latencies in order to make 44 * Program following latencies in order to make
45 * SPEAr1340 work at 600 MHz 45 * SPEAr1340 work at 600 MHz
46 */ 46 */
47 writel_relaxed(0x221, VA_L2CC_BASE + L2X0_TAG_LATENCY_CTRL); 47 writel_relaxed(0x221, VA_L2CC_BASE + L310_TAG_LATENCY_CTRL);
48 writel_relaxed(0x441, VA_L2CC_BASE + L2X0_DATA_LATENCY_CTRL); 48 writel_relaxed(0x441, VA_L2CC_BASE + L310_DATA_LATENCY_CTRL);
49 l2x0_init(VA_L2CC_BASE, 0x70A60001, 0xfe00ffff); 49 l2x0_init(VA_L2CC_BASE, 0x30a00001, 0xfe0fffff);
50} 50}
51 51
52/* 52/*