Skip to contentSkip to conversation

ARM: shmobile: Introduce a Kconfig entry for R-Car Gen1

PATCH Superseded Magnus Damm 1 participant 1 message Aug 20, 2014

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 3/6 ARM: shmobile: Introduce a Kconfig entry for R-Car Gen1

From: Magnus Damm <[email protected]>

Add a Kconfig entry for R-Car Generation 1 SoCs that enables TMU timer and the INTC IRQPIN driver.

---

 arch/arm/mach-shmobile/Kconfig |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
arch/arm/mach-shmobile/Kconfig +8 -6
@@ -2,6 +2,11 @@ config ARCH_SHMOBILE
 	bool
 	select ARCH_WANT_OPTIONAL_GPIOLIB
 
+config ARCH_RCAR_GEN1
+	bool
+	select RENESAS_INTC_IRQPIN
+	select SYS_SUPPORTS_SH_TMU
+
 config ARCH_RMOBILE
 	bool
 	select SYS_SUPPORTS_SH_CMT
@@ -34,8 +39,7 @@ config ARCH_R7S72100
 
 config ARCH_R8A7779
 	bool "R-Car H1 (R8A77790)"
-	select RENESAS_INTC_IRQPIN
-	select SYS_SUPPORTS_SH_TMU
+	select ARCH_RCAR_GEN1
 
 config ARCH_R8A7790
 	bool "R-Car H2 (R8A77900)"
@@ -105,19 +109,17 @@ config ARCH_R8A7740
 
 config ARCH_R8A7778
 	bool "R-Car M1A (R8A77781)"
+	select ARCH_RCAR_GEN1
 	select CPU_V7
 	select SH_CLK_CPG
 	select ARM_GIC
-	select SYS_SUPPORTS_SH_TMU
-	select RENESAS_INTC_IRQPIN
 
 config ARCH_R8A7779
 	bool "R-Car H1 (R8A77790)"
+	select ARCH_RCAR_GEN1
 	select ARM_GIC
 	select CPU_V7
 	select SH_CLK_CPG
-	select RENESAS_INTC_IRQPIN
-	select SYS_SUPPORTS_SH_TMU
 
 config ARCH_R8A7790
 	bool "R-Car H2 (R8A77900)"