Subject: [PATCH 2/2] ARM: tegra: irq: nuke leftovers from non-DT support

From: [email-masked] (Marc Zyngier)
Date: Thu, 27 Nov 2014 09:09:25 +0000

On 27/11/14 08:31, Thierry Reding wrote:
> On Wed, Nov 26, 2014 at 05:55:32PM +0000, Marc Zyngier wrote:
>> The GIC is now always initialized from DT on tegra, and there is
>> no point in keeping non-DT init code.
>>
>> Signed-off-by: Marc Zyngier <[email-masked]>
>> ---
>>  arch/arm/mach-tegra/irq.c | 8 --------
>>  1 file changed, 8 deletions(-)
>>
>> diff --git a/arch/arm/mach-tegra/irq.c b/arch/arm/mach-tegra/irq.c
>> index ab95f53..7f87a50 100644
>> --- a/arch/arm/mach-tegra/irq.c
>> +++ b/arch/arm/mach-tegra/irq.c
>> @@ -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();
>>  }
> 
> I've been carrying the same patch in my tree locally for months and was
> just waiting for the stacked domain code to settle. So if you prefer to
> merge this as part of other stacked domain code, consider this:
> 
> Acked-by: Thierry Reding <[email-masked]>

Fine by me, I'll stash it in the rest of the series.

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...