diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-08-20 09:39:22 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-08-21 23:28:16 -0400 |
commit | 049d28048be595e0a10a58fe1c104b153c386633 (patch) | |
tree | 04ecf6caf9a5b5b100f9b47a954d7bf6d0610ebd /arch/arm/mach-shmobile/Kconfig | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) |
sh: intc: Confine SH_INTC to platforms that need it
Currently the sh-intc driver is compiled on all SuperH and
non-multiplatform SH-Mobile platforms, while it's only used on a limited
number of platforms:
- SuperH: SH2(A), SH3(A), SH4(A)(L) (all but SH5)
- ARM: sh7372, sh73a0
Drop the "default y" on SH_INTC, make all CPU platforms that use it
select it, and protect all sub-options by "if SH_INTC" to fix this.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/Kconfig')
-rw-r--r-- | arch/arm/mach-shmobile/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index e15dff790dbb..1e6c51c7c2d5 100644 --- a/arch/arm/mach-shmobile/Kconfig +++ b/arch/arm/mach-shmobile/Kconfig | |||
@@ -75,6 +75,7 @@ config ARCH_SH7372 | |||
75 | select ARM_CPU_SUSPEND if PM || CPU_IDLE | 75 | select ARM_CPU_SUSPEND if PM || CPU_IDLE |
76 | select CPU_V7 | 76 | select CPU_V7 |
77 | select SH_CLK_CPG | 77 | select SH_CLK_CPG |
78 | select SH_INTC | ||
78 | select SYS_SUPPORTS_SH_CMT | 79 | select SYS_SUPPORTS_SH_CMT |
79 | select SYS_SUPPORTS_SH_TMU | 80 | select SYS_SUPPORTS_SH_TMU |
80 | 81 | ||
@@ -85,6 +86,7 @@ config ARCH_SH73A0 | |||
85 | select CPU_V7 | 86 | select CPU_V7 |
86 | select I2C | 87 | select I2C |
87 | select SH_CLK_CPG | 88 | select SH_CLK_CPG |
89 | select SH_INTC | ||
88 | select RENESAS_INTC_IRQPIN | 90 | select RENESAS_INTC_IRQPIN |
89 | select SYS_SUPPORTS_SH_CMT | 91 | select SYS_SUPPORTS_SH_CMT |
90 | select SYS_SUPPORTS_SH_TMU | 92 | select SYS_SUPPORTS_SH_TMU |