diff options
| -rw-r--r-- | arch/arm/mach-mvebu/board-v7.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-mvebu/board-v7.c b/arch/arm/mach-mvebu/board-v7.c index 804c952329e2..b2524d689f21 100644 --- a/arch/arm/mach-mvebu/board-v7.c +++ b/arch/arm/mach-mvebu/board-v7.c | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | #include <linux/mbus.h> | 23 | #include <linux/mbus.h> |
| 24 | #include <linux/signal.h> | 24 | #include <linux/signal.h> |
| 25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
| 26 | #include <linux/irqchip.h> | ||
| 26 | #include <asm/hardware/cache-l2x0.h> | 27 | #include <asm/hardware/cache-l2x0.h> |
| 27 | #include <asm/mach/arch.h> | 28 | #include <asm/mach/arch.h> |
| 28 | #include <asm/mach/map.h> | 29 | #include <asm/mach/map.h> |
| @@ -71,10 +72,9 @@ static int armada_375_external_abort_wa(unsigned long addr, unsigned int fsr, | |||
| 71 | return 1; | 72 | return 1; |
| 72 | } | 73 | } |
| 73 | 74 | ||
| 74 | static void __init mvebu_timer_and_clk_init(void) | 75 | static void __init mvebu_init_irq(void) |
| 75 | { | 76 | { |
| 76 | of_clk_init(NULL); | 77 | irqchip_init(); |
| 77 | clocksource_of_init(); | ||
| 78 | mvebu_scu_enable(); | 78 | mvebu_scu_enable(); |
| 79 | coherency_init(); | 79 | coherency_init(); |
| 80 | BUG_ON(mvebu_mbus_dt_init(coherency_available())); | 80 | BUG_ON(mvebu_mbus_dt_init(coherency_available())); |
| @@ -194,7 +194,7 @@ DT_MACHINE_START(ARMADA_370_XP_DT, "Marvell Armada 370/XP (Device Tree)") | |||
| 194 | .l2c_aux_mask = ~0, | 194 | .l2c_aux_mask = ~0, |
| 195 | .smp = smp_ops(armada_xp_smp_ops), | 195 | .smp = smp_ops(armada_xp_smp_ops), |
| 196 | .init_machine = mvebu_dt_init, | 196 | .init_machine = mvebu_dt_init, |
| 197 | .init_time = mvebu_timer_and_clk_init, | 197 | .init_irq = mvebu_init_irq, |
| 198 | .restart = mvebu_restart, | 198 | .restart = mvebu_restart, |
| 199 | .dt_compat = armada_370_xp_dt_compat, | 199 | .dt_compat = armada_370_xp_dt_compat, |
| 200 | MACHINE_END | 200 | MACHINE_END |
| @@ -207,7 +207,7 @@ static const char * const armada_375_dt_compat[] = { | |||
| 207 | DT_MACHINE_START(ARMADA_375_DT, "Marvell Armada 375 (Device Tree)") | 207 | DT_MACHINE_START(ARMADA_375_DT, "Marvell Armada 375 (Device Tree)") |
| 208 | .l2c_aux_val = 0, | 208 | .l2c_aux_val = 0, |
| 209 | .l2c_aux_mask = ~0, | 209 | .l2c_aux_mask = ~0, |
| 210 | .init_time = mvebu_timer_and_clk_init, | 210 | .init_irq = mvebu_init_irq, |
| 211 | .init_machine = mvebu_dt_init, | 211 | .init_machine = mvebu_dt_init, |
| 212 | .restart = mvebu_restart, | 212 | .restart = mvebu_restart, |
| 213 | .dt_compat = armada_375_dt_compat, | 213 | .dt_compat = armada_375_dt_compat, |
| @@ -222,7 +222,7 @@ static const char * const armada_38x_dt_compat[] = { | |||
| 222 | DT_MACHINE_START(ARMADA_38X_DT, "Marvell Armada 380/385 (Device Tree)") | 222 | DT_MACHINE_START(ARMADA_38X_DT, "Marvell Armada 380/385 (Device Tree)") |
| 223 | .l2c_aux_val = 0, | 223 | .l2c_aux_val = 0, |
| 224 | .l2c_aux_mask = ~0, | 224 | .l2c_aux_mask = ~0, |
| 225 | .init_time = mvebu_timer_and_clk_init, | 225 | .init_irq = mvebu_init_irq, |
| 226 | .restart = mvebu_restart, | 226 | .restart = mvebu_restart, |
| 227 | .dt_compat = armada_38x_dt_compat, | 227 | .dt_compat = armada_38x_dt_compat, |
| 228 | MACHINE_END | 228 | MACHINE_END |
