|
@@ -227,7 +227,13 @@ static void ct_ca9x4_init(void)
|
|
|
int i;
|
|
|
|
|
|
#ifdef CONFIG_CACHE_L2X0
|
|
|
- l2x0_init(MMIO_P2V(CT_CA9X4_L2CC), 0x00400000, 0xfe0fffff);
|
|
|
+ void __iomem *l2x0_base = MMIO_P2V(CT_CA9X4_L2CC);
|
|
|
+
|
|
|
+ /* set RAM latencies to 1 cycle for this core tile. */
|
|
|
+ writel(0, l2x0_base + L2X0_TAG_LATENCY_CTRL);
|
|
|
+ writel(0, l2x0_base + L2X0_DATA_LATENCY_CTRL);
|
|
|
+
|
|
|
+ l2x0_init(l2x0_base, 0x00400000, 0xfe0fffff);
|
|
|
#endif
|
|
|
|
|
|
clkdev_add_table(lookups, ARRAY_SIZE(lookups));
|