Depending on MACH_INGENIC prevent us from creating a generic kernel
that works on more than one MIPS board. Instead, we just depend on
MIPS being set.

Signed-off-by: Paul Cercueil <p...@crapouillou.net>
---
 drivers/irqchip/Kconfig | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index e9233db16e03..04628af89b60 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -269,9 +269,13 @@ config MIPS_GIC
        select MIPS_CM
 
 config INGENIC_IRQ
-       bool
-       depends on MACH_INGENIC
-       default y
+       bool "Ingenic JZ47xx IRQ controller"
+       depends on MIPS
+       default MACH_INGENIC
+       help
+         Support the interrupt controller present on JZ47xx SoCs from Ingenic.
+
+         If compiling for an Ingenic JZ47xx SoC, you want to say Y here.
 
 config RENESAS_H8300H_INTC
         bool
-- 
2.11.0

Reply via email to