aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-vexpress/v2m.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-vexpress/v2m.c')
-rw-r--r--arch/arm/mach-vexpress/v2m.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/arch/arm/mach-vexpress/v2m.c b/arch/arm/mach-vexpress/v2m.c
index 011661a6c5cb..82be02b3ae28 100644
--- a/arch/arm/mach-vexpress/v2m.c
+++ b/arch/arm/mach-vexpress/v2m.c
@@ -7,6 +7,7 @@
7#include <linux/io.h> 7#include <linux/io.h>
8#include <linux/smp.h> 8#include <linux/smp.h>
9#include <linux/init.h> 9#include <linux/init.h>
10#include <linux/irqchip.h>
10#include <linux/of_address.h> 11#include <linux/of_address.h>
11#include <linux/of_fdt.h> 12#include <linux/of_fdt.h>
12#include <linux/of_irq.h> 13#include <linux/of_irq.h>
@@ -30,7 +31,6 @@
30#include <asm/mach/time.h> 31#include <asm/mach/time.h>
31#include <asm/hardware/arm_timer.h> 32#include <asm/hardware/arm_timer.h>
32#include <asm/hardware/cache-l2x0.h> 33#include <asm/hardware/cache-l2x0.h>
33#include <asm/hardware/gic.h>
34#include <asm/hardware/timer-sp.h> 34#include <asm/hardware/timer-sp.h>
35 35
36#include <mach/ct-ca9x4.h> 36#include <mach/ct-ca9x4.h>
@@ -377,7 +377,6 @@ MACHINE_START(VEXPRESS, "ARM-Versatile Express")
377 .init_early = v2m_init_early, 377 .init_early = v2m_init_early,
378 .init_irq = v2m_init_irq, 378 .init_irq = v2m_init_irq,
379 .timer = &v2m_timer, 379 .timer = &v2m_timer,
380 .handle_irq = gic_handle_irq,
381 .init_machine = v2m_init, 380 .init_machine = v2m_init,
382 .restart = vexpress_restart, 381 .restart = vexpress_restart,
383MACHINE_END 382MACHINE_END
@@ -434,16 +433,6 @@ void __init v2m_dt_init_early(void)
434 } 433 }
435} 434}
436 435
437static struct of_device_id vexpress_irq_match[] __initdata = {
438 { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, },
439 {}
440};
441
442static void __init v2m_dt_init_irq(void)
443{
444 of_irq_init(vexpress_irq_match);
445}
446
447static void __init v2m_dt_timer_init(void) 436static void __init v2m_dt_timer_init(void)
448{ 437{
449 struct device_node *node = NULL; 438 struct device_node *node = NULL;
@@ -497,9 +486,8 @@ DT_MACHINE_START(VEXPRESS_DT, "ARM-Versatile Express")
497 .smp = smp_ops(vexpress_smp_ops), 486 .smp = smp_ops(vexpress_smp_ops),
498 .map_io = v2m_dt_map_io, 487 .map_io = v2m_dt_map_io,
499 .init_early = v2m_dt_init_early, 488 .init_early = v2m_dt_init_early,
500 .init_irq = v2m_dt_init_irq, 489 .init_irq = irqchip_init,
501 .timer = &v2m_dt_timer, 490 .timer = &v2m_dt_timer,
502 .init_machine = v2m_dt_init, 491 .init_machine = v2m_dt_init,
503 .handle_irq = gic_handle_irq,
504 .restart = vexpress_restart, 492 .restart = vexpress_restart,
505MACHINE_END 493MACHINE_END