aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/Kconfig
diff options
context:
space:
mode:
authorMagnus Damm <damm+renesas@opensource.se>2014-08-24 23:04:01 -0400
committerSimon Horman <horms+renesas@verge.net.au>2014-09-01 20:32:06 -0400
commitabebbc4a026d8cdceb9f65c497b3db445c8ff5e7 (patch)
treea602cbfc386a582e2eacfecc31bef3f8e60d2aad /arch/arm/mach-shmobile/Kconfig
parent1a950ca536dd5c40167ef58951e738ae430fa96d (diff)
ARM: shmobile: Cleanup pm-rmobile.o build using Kconfig
Add a CONFIG_PM_RMOBILE entry and enable it for R-Mobile SoCs in case CONFIG_PM is set. Consolidate Makefile power management objects and get rid of #ifdefs in the C code. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> 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/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig
index cd13021cda5f..9295776ce136 100644
--- a/arch/arm/mach-shmobile/Kconfig
+++ b/arch/arm/mach-shmobile/Kconfig
@@ -4,6 +4,9 @@ config ARCH_SHMOBILE
4config PM_RCAR 4config PM_RCAR
5 bool 5 bool
6 6
7config PM_RMOBILE
8 bool
9
7config ARCH_RCAR_GEN1 10config ARCH_RCAR_GEN1
8 bool 11 bool
9 select PM_RCAR if PM || SMP 12 select PM_RCAR if PM || SMP
@@ -18,6 +21,7 @@ config ARCH_RCAR_GEN2
18 21
19config ARCH_RMOBILE 22config ARCH_RMOBILE
20 bool 23 bool
24 select PM_RMOBILE if PM
21 select SYS_SUPPORTS_SH_CMT 25 select SYS_SUPPORTS_SH_CMT
22 select SYS_SUPPORTS_SH_TMU 26 select SYS_SUPPORTS_SH_TMU
23 27