ARM: DRA: Enable Crossbar IP support for DRA7XX
authorSricharan R <r.sricharan@ti.com>
Tue, 3 Dec 2013 10:27:25 +0000 (15:57 +0530)
committerSricharan R <r.sricharan@ti.com>
Wed, 5 Feb 2014 14:39:11 +0000 (20:09 +0530)
Enable the crossbar IP support for DRA7xx soc.

Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sricharan R <r.sricharan@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-omap2/Kconfig
arch/arm/mach-omap2/omap4-common.c

index 653b489479e0ee2d4166d6d033d315a1e56430e4..855c1f6e0f1dbb4ce0a0eb213e7b6225759371fe 100644 (file)
@@ -85,6 +85,7 @@ config SOC_DRA7XX
        select CPU_V7
        select HAVE_SMP
        select HAVE_ARM_ARCH_TIMER
+       select IRQ_CROSSBAR
 
 config ARCH_OMAP2PLUS
        bool
index 6cd3f3772ecf4ed5fa83aa4c70ff83cad98db9f6..95e171a055f34a87e8096f5ffacf69e8fe1cd13a 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/of_platform.h>
 #include <linux/export.h>
 #include <linux/irqchip/arm-gic.h>
+#include <linux/irqchip/irq-crossbar.h>
 #include <linux/of_address.h>
 #include <linux/reboot.h>
 
@@ -288,5 +289,8 @@ void __init omap_gic_of_init(void)
 
 skip_errata_init:
        omap_wakeupgen_init();
+#ifdef CONFIG_IRQ_CROSSBAR
+       irqcrossbar_init();
+#endif
        irqchip_init();
 }