aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-highbank/highbank.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-highbank/highbank.c')
-rw-r--r--arch/arm/mach-highbank/highbank.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/mach-highbank/highbank.c b/arch/arm/mach-highbank/highbank.c
index 245e588859ec..8c35ae4ff176 100644
--- a/arch/arm/mach-highbank/highbank.c
+++ b/arch/arm/mach-highbank/highbank.c
@@ -66,12 +66,6 @@ static void __init highbank_init_irq(void)
66 66
67 if (of_find_compatible_node(NULL, NULL, "arm,cortex-a9")) 67 if (of_find_compatible_node(NULL, NULL, "arm,cortex-a9"))
68 highbank_scu_map_io(); 68 highbank_scu_map_io();
69
70 /* Enable PL310 L2 Cache controller */
71 if (IS_ENABLED(CONFIG_CACHE_L2X0)) {
72 outer_cache.write_sec = highbank_l2c310_write_sec;
73 l2x0_of_init(0, ~0);
74 }
75} 69}
76 70
77static void highbank_power_off(void) 71static void highbank_power_off(void)
@@ -185,6 +179,9 @@ DT_MACHINE_START(HIGHBANK, "Highbank")
185#if defined(CONFIG_ZONE_DMA) && defined(CONFIG_ARM_LPAE) 179#if defined(CONFIG_ZONE_DMA) && defined(CONFIG_ARM_LPAE)
186 .dma_zone_size = (4ULL * SZ_1G), 180 .dma_zone_size = (4ULL * SZ_1G),
187#endif 181#endif
182 .l2c_aux_val = 0,
183 .l2c_aux_mask = ~0,
184 .l2c_write_sec = highbank_l2c310_write_sec,
188 .init_irq = highbank_init_irq, 185 .init_irq = highbank_init_irq,
189 .init_machine = highbank_init, 186 .init_machine = highbank_init,
190 .dt_compat = highbank_match, 187 .dt_compat = highbank_match,