diff options
Diffstat (limited to 'arch/arm/mach-zynq/common.c')
-rw-r--r-- | arch/arm/mach-zynq/common.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c index 40f46ae4c8ae..2d96745dd9ad 100644 --- a/arch/arm/mach-zynq/common.c +++ b/arch/arm/mach-zynq/common.c | |||
@@ -31,7 +31,6 @@ | |||
31 | #include <asm/mach-types.h> | 31 | #include <asm/mach-types.h> |
32 | #include <asm/page.h> | 32 | #include <asm/page.h> |
33 | #include <asm/pgtable.h> | 33 | #include <asm/pgtable.h> |
34 | #include <asm/hardware/gic.h> | ||
35 | #include <asm/hardware/cache-l2x0.h> | 34 | #include <asm/hardware/cache-l2x0.h> |
36 | 35 | ||
37 | #include "common.h" | 36 | #include "common.h" |
@@ -55,19 +54,6 @@ static void __init xilinx_init_machine(void) | |||
55 | of_platform_bus_probe(NULL, zynq_of_bus_ids, NULL); | 54 | of_platform_bus_probe(NULL, zynq_of_bus_ids, NULL); |
56 | } | 55 | } |
57 | 56 | ||
58 | static struct of_device_id irq_match[] __initdata = { | ||
59 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | ||
60 | { } | ||
61 | }; | ||
62 | |||
63 | /** | ||
64 | * xilinx_irq_init() - Interrupt controller initialization for the GIC. | ||
65 | */ | ||
66 | static void __init xilinx_irq_init(void) | ||
67 | { | ||
68 | of_irq_init(irq_match); | ||
69 | } | ||
70 | |||
71 | #define SCU_PERIPH_PHYS 0xF8F00000 | 57 | #define SCU_PERIPH_PHYS 0xF8F00000 |
72 | #define SCU_PERIPH_SIZE SZ_8K | 58 | #define SCU_PERIPH_SIZE SZ_8K |
73 | #define SCU_PERIPH_VIRT (VMALLOC_END - SCU_PERIPH_SIZE) | 59 | #define SCU_PERIPH_VIRT (VMALLOC_END - SCU_PERIPH_SIZE) |
@@ -117,7 +103,7 @@ static const char *xilinx_dt_match[] = { | |||
117 | 103 | ||
118 | MACHINE_START(XILINX_EP107, "Xilinx Zynq Platform") | 104 | MACHINE_START(XILINX_EP107, "Xilinx Zynq Platform") |
119 | .map_io = xilinx_map_io, | 105 | .map_io = xilinx_map_io, |
120 | .init_irq = xilinx_irq_init, | 106 | .init_irq = irqchip_init, |
121 | .init_machine = xilinx_init_machine, | 107 | .init_machine = xilinx_init_machine, |
122 | .timer = &xttcpss_sys_timer, | 108 | .timer = &xttcpss_sys_timer, |
123 | .dt_compat = xilinx_dt_match, | 109 | .dt_compat = xilinx_dt_match, |