|
@@ -8,11 +8,10 @@
|
|
|
|
|
|
#include <linux/init.h>
|
|
|
#include <linux/kernel.h>
|
|
|
-#include <linux/of_irq.h>
|
|
|
+#include <linux/irqchip.h>
|
|
|
#include <asm/sizes.h>
|
|
|
#include <asm/mach-types.h>
|
|
|
#include <asm/mach/arch.h>
|
|
|
-#include <asm/hardware/gic.h>
|
|
|
#include <linux/of.h>
|
|
|
#include <linux/of_platform.h>
|
|
|
#include "common.h"
|
|
@@ -61,16 +60,6 @@ MACHINE_END
|
|
|
#endif
|
|
|
|
|
|
#ifdef CONFIG_ARCH_MARCO
|
|
|
-static const struct of_device_id marco_irq_match[] __initconst = {
|
|
|
- { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, },
|
|
|
- { /* sentinel */ }
|
|
|
-};
|
|
|
-
|
|
|
-static void __init marco_init_irq(void)
|
|
|
-{
|
|
|
- of_irq_init(marco_irq_match);
|
|
|
-}
|
|
|
-
|
|
|
static const char *marco_dt_match[] __initdata = {
|
|
|
"sirf,marco",
|
|
|
NULL
|
|
@@ -80,9 +69,8 @@ DT_MACHINE_START(MARCO_DT, "Generic MARCO (Flattened Device Tree)")
|
|
|
/* Maintainer: Barry Song <baohua.song@csr.com> */
|
|
|
.smp = smp_ops(sirfsoc_smp_ops),
|
|
|
.map_io = sirfsoc_map_io,
|
|
|
- .init_irq = marco_init_irq,
|
|
|
+ .init_irq = irqchip_init,
|
|
|
.init_time = sirfsoc_marco_timer_init,
|
|
|
- .handle_irq = gic_handle_irq,
|
|
|
.init_machine = sirfsoc_mach_init,
|
|
|
.init_late = sirfsoc_init_late,
|
|
|
.dt_compat = marco_dt_match,
|