diff options
-rw-r--r-- | arch/arm/mach-highbank/highbank.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-highbank/highbank.c b/arch/arm/mach-highbank/highbank.c index 4712aed3d9f6..245e588859ec 100644 --- a/arch/arm/mach-highbank/highbank.c +++ b/arch/arm/mach-highbank/highbank.c | |||
@@ -68,9 +68,7 @@ static void __init highbank_init_irq(void) | |||
68 | highbank_scu_map_io(); | 68 | highbank_scu_map_io(); |
69 | 69 | ||
70 | /* Enable PL310 L2 Cache controller */ | 70 | /* Enable PL310 L2 Cache controller */ |
71 | if (IS_ENABLED(CONFIG_CACHE_L2X0) && | 71 | if (IS_ENABLED(CONFIG_CACHE_L2X0)) { |
72 | of_find_compatible_node(NULL, NULL, "arm,pl310-cache")) { | ||
73 | highbank_smc1(0x102, 0x1); | ||
74 | outer_cache.write_sec = highbank_l2c310_write_sec; | 72 | outer_cache.write_sec = highbank_l2c310_write_sec; |
75 | l2x0_of_init(0, ~0); | 73 | l2x0_of_init(0, ~0); |
76 | } | 74 | } |