diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2013-09-25 19:09:36 +0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-10-21 05:39:24 +0400 |
commit | 9e8147bb5ec5d1dda2141da70f96b98985a306cb (patch) | |
tree | d76ea7f7d8402b1a197312478677e76bbbbdc556 /arch/arm/mach-imx/common.h | |
parent | 803648db201f6c5f45e74a646f8f17bdeeb7b7e6 (diff) | |
download | linux-9e8147bb5ec5d1dda2141da70f96b98985a306cb.tar.xz |
ARM: imx6q: move low-power code out of clock driver
The LPM (Low Power Mode) code that currently sits in imx6q clock driver
will be reused by imx6sl. Let's move it into pm-imx6q.c, so that we
can keep clock driver SoC specific and reuse pm-imx6q.c on imx6sl.
In order to avoid adding another ioremap for CCM block,
imx6q_pm_set_ccm_base() is created to let clock driver set up ccm_base
for pm code.
During the move, the unused CCGR macros get removed.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/common.h')
-rw-r--r-- | arch/arm/mach-imx/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/common.h b/arch/arm/mach-imx/common.h index ddcbd90b4edf..fde6661ef70d 100644 --- a/arch/arm/mach-imx/common.h +++ b/arch/arm/mach-imx/common.h @@ -147,9 +147,11 @@ int imx_cpu_kill(unsigned int cpu); #ifdef CONFIG_PM void imx6q_pm_init(void); +void imx6q_pm_set_ccm_base(void __iomem *base); void imx5_pm_init(void); #else static inline void imx6q_pm_init(void) {} +static inline void imx6q_pm_set_ccm_base(void __iomem *base) {} static inline void imx5_pm_init(void) {} #endif |