浏览代码

MIPS: ralink: add a symbol for INTC

Some of the newer SoCs use the GIC. This patch splits the INTC out into its
own symbol, allowing us to add the gic code in the following patch.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11989/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
John Crispin 9 年之前
父节点
当前提交
2761f83cad
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 4 0
      arch/mips/ralink/Kconfig
  2. 2 0
      arch/mips/ralink/Makefile

+ 4 - 0
arch/mips/ralink/Kconfig

@@ -12,6 +12,10 @@ config RALINK_ILL_ACC
 	depends on SOC_RT305X
 	default y
 
+config IRQ_INTC
+	bool
+	default y
+
 choice
 	prompt "Ralink SoC selection"
 	default SOC_RT305X

+ 2 - 0
arch/mips/ralink/Makefile

@@ -12,6 +12,8 @@ obj-$(CONFIG_CLKEVT_RT3352) += cevt-rt3352.o
 
 obj-$(CONFIG_RALINK_ILL_ACC) += ill_acc.o
 
+obj-$(CONFIG_IRQ_INTC) += irq.o
+
 obj-$(CONFIG_SOC_RT288X) += rt288x.o
 obj-$(CONFIG_SOC_RT305X) += rt305x.o
 obj-$(CONFIG_SOC_RT3883) += rt3883.o