]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: tegra: irq: nuke leftovers from non-DT support
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 11 Mar 2015 15:42:58 +0000 (15:42 +0000)
committerJason Cooper <jason@lakedaemon.net>
Sun, 15 Mar 2015 00:39:56 +0000 (00:39 +0000)
The GIC is now always initialized from DT on tegra, and there is
no point in keeping non-DT init code.

Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/1426088583-15097-2-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-tegra/irq.c

index ab95f5391a2b631e5cace17bbb176766e7d410bf..7f87a5047140dc32763b6271fbebec188cbde254 100644 (file)
@@ -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();
 }