aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-11-06 05:05:45 -0500
committerLinus Walleij <linus.walleij@linaro.org>2013-11-26 15:01:58 -0500
commite937274f4268923c5220843cadddb7b78a51ecac (patch)
treee9d7d0a15b7c536fa84aa297216ad6e471605480 /arch/arm/mach-ux500
parentf4b3f523b384675d61fc05f0df2d10cdf370b827 (diff)
ARM: ux500: Clean-up non-DT IRQ initialisation
Decommission the non-DT boot path. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r--arch/arm/mach-ux500/cpu.c22
1 files changed, 6 insertions, 16 deletions
diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c
index 8f8004f07239..d11ac4bf336c 100644
--- a/arch/arm/mach-ux500/cpu.c
+++ b/arch/arm/mach-ux500/cpu.c
@@ -63,12 +63,7 @@ void __init ux500_init_irq(void)
63 } else 63 } else
64 ux500_unknown_soc(); 64 ux500_unknown_soc();
65 65
66#ifdef CONFIG_OF 66 irqchip_init();
67 if (of_have_populated_dt())
68 irqchip_init();
69 else
70#endif
71 gic_init(0, 29, dist_base, cpu_base);
72 67
73 /* 68 /*
74 * Init clocks here so that they are available for system timer 69 * Init clocks here so that they are available for system timer
@@ -78,16 +73,11 @@ void __init ux500_init_irq(void)
78 prcmu_early_init(U8500_PRCMU_BASE, SZ_8K - 1); 73 prcmu_early_init(U8500_PRCMU_BASE, SZ_8K - 1);
79 ux500_pm_init(U8500_PRCMU_BASE, SZ_8K - 1); 74 ux500_pm_init(U8500_PRCMU_BASE, SZ_8K - 1);
80 75
81 if (of_have_populated_dt()) 76 u8500_of_clk_init(U8500_CLKRST1_BASE,
82 u8500_of_clk_init(U8500_CLKRST1_BASE, 77 U8500_CLKRST2_BASE,
83 U8500_CLKRST2_BASE, 78 U8500_CLKRST3_BASE,
84 U8500_CLKRST3_BASE, 79 U8500_CLKRST5_BASE,
85 U8500_CLKRST5_BASE, 80 U8500_CLKRST6_BASE);
86 U8500_CLKRST6_BASE);
87 else
88 u8500_clk_init(U8500_CLKRST1_BASE, U8500_CLKRST2_BASE,
89 U8500_CLKRST3_BASE, U8500_CLKRST5_BASE,
90 U8500_CLKRST6_BASE);
91 } else if (cpu_is_u9540()) { 81 } else if (cpu_is_u9540()) {
92 prcmu_early_init(U8500_PRCMU_BASE, SZ_8K - 1); 82 prcmu_early_init(U8500_PRCMU_BASE, SZ_8K - 1);
93 ux500_pm_init(U8500_PRCMU_BASE, SZ_8K - 1); 83 ux500_pm_init(U8500_PRCMU_BASE, SZ_8K - 1);