Переглянути джерело

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