lkml.org 
[lkml]   [2018]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] irq: ingenic: Drop dependency on MACH_INGENIC
Date
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 <paul@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
\
 
 \ /
  Last update: 2018-08-21 15:50    [W:0.477 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site