diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-02-28 16:59:43 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-02-28 16:59:43 +0400 |
commit | b5761fb5237bb2fb7a2533c5f36fd6e33714e20f (patch) | |
tree | 40c06266cd6f572b447ec0ebae85dcb82be1d77e /arch/arm/mach-ux500 | |
parent | d942d3957cdea9de45557cdf6436593815f06c3a (diff) | |
download | linux-b5761fb5237bb2fb7a2533c5f36fd6e33714e20f.tar.xz |
ARM: ux500: skip GIC CPU and dist address checks
The Ux500 is initializing its IRQs from the device tree and
does not need to figure out any static base addresses anymore,
this is just dead code so delete it.
Cc: 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.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c index d11ac4bf336c..db16b5a04ad5 100644 --- a/arch/arm/mach-ux500/cpu.c +++ b/arch/arm/mach-ux500/cpu.c @@ -52,17 +52,7 @@ void ux500_restart(enum reboot_mode mode, const char *cmd) */ void __init ux500_init_irq(void) { - void __iomem *dist_base; - void __iomem *cpu_base; - gic_arch_extn.flags = IRQCHIP_SKIP_SET_WAKE | IRQCHIP_MASK_ON_SUSPEND; - - if (cpu_is_u8500_family() || cpu_is_ux540_family()) { - dist_base = __io_address(U8500_GIC_DIST_BASE); - cpu_base = __io_address(U8500_GIC_CPU_BASE); - } else - ux500_unknown_soc(); - irqchip_init(); /* |