Skip to content

Commit b5761fb

Browse files
author
Linus Walleij
committed
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>
1 parent d942d39 commit b5761fb

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

‎arch/arm/mach-ux500/cpu.c‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,7 @@ void ux500_restart(enum reboot_mode mode, const char *cmd)
5252
*/
5353
void __init ux500_init_irq(void)
5454
{
55-
void __iomem *dist_base;
56-
void __iomem *cpu_base;
57-
5855
gic_arch_extn.flags = IRQCHIP_SKIP_SET_WAKE | IRQCHIP_MASK_ON_SUSPEND;
59-
60-
if (cpu_is_u8500_family() || cpu_is_ux540_family()) {
61-
dist_base = __io_address(U8500_GIC_DIST_BASE);
62-
cpu_base = __io_address(U8500_GIC_CPU_BASE);
63-
} else
64-
ux500_unknown_soc();
65-
6656
irqchip_init();
6757

6858
/*

0 commit comments

Comments
 (0)