Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3aa14c3 authored by Marc Zyngier's avatar Marc Zyngier Committed by Jason Cooper
Browse files

ARM: tegra: irq: nuke leftovers from non-DT support



The GIC is now always initialized from DT on tegra, and there is
no point in keeping non-DT init code.

Acked-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/1426088583-15097-2-git-send-email-marc.zyngier@arm.com


Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent c517d838
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -283,13 +283,5 @@ void __init tegra_init_irq(void)
	gic_arch_extn.irq_set_wake = tegra_set_wake;
	gic_arch_extn.flags = IRQCHIP_MASK_ON_SUSPEND;

	/*
	 * Check if there is a devicetree present, since the GIC will be
	 * initialized elsewhere under DT.
	 */
	if (!of_have_populated_dt())
		gic_init(0, 29, distbase,
			IO_ADDRESS(TEGRA_ARM_PERIF_BASE + 0x100));

	tegra114_gic_cpu_pm_registration();
}