diff options
author | Magnus Damm <damm+renesas@opensource.se> | 2014-08-25 05:03:52 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-09-02 02:32:05 +0200 |
commit | 1a950ca536dd5c40167ef58951e738ae430fa96d (patch) | |
tree | bd24b81db58bf51baa4c4e64d3915664dea4cfb0 /arch/arm/mach-shmobile/Kconfig | |
parent | ARM: shmobile: Introduce a Kconfig entry for R-Car Gen2 (diff) | |
download | linux-1a950ca536dd5c40167ef58951e738ae430fa96d.tar.xz linux-1a950ca536dd5c40167ef58951e738ae430fa96d.zip |
ARM: shmobile: Cleanup pm-rcar.o build using Kconfig
Add a CONFIG_PM_RCAR entry and enable it for R-Car
Generation 1 or 2 in case CONFIG_PM or CONFIG_SMP
is set. Consolidate 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/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index 73d6d3d7e003..cd13021cda5f 100644 --- a/arch/arm/mach-shmobile/Kconfig +++ b/arch/arm/mach-shmobile/Kconfig @@ -1,13 +1,18 @@ config ARCH_SHMOBILE bool +config PM_RCAR + bool + config ARCH_RCAR_GEN1 bool + select PM_RCAR if PM || SMP select RENESAS_INTC_IRQPIN select SYS_SUPPORTS_SH_TMU config ARCH_RCAR_GEN2 bool + select PM_RCAR if PM || SMP select RENESAS_IRQC select SYS_SUPPORTS_SH_CMT |