summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/flowctrl.c
diff options
context:
space:
mode:
authorJoseph Lo <josephl@nvidia.com>2013-10-11 17:58:38 +0800
committerStephen Warren <swarren@nvidia.com>2013-10-18 16:28:10 -0600
commitf0c4ac1329452e5d31a03b4bb711c330065c0369 (patch)
tree38f618cae4e1cf374681d6569aeb486dec44aa69 /arch/arm/mach-tegra/flowctrl.c
parent92e94fe1cdaf3c6c636dc2c5129f8eabc89dca6c (diff)
ARM: tegra: add LP1 support code for Tegra124
The LP1 suspend procedure is the same with Tegra30 and Tegra114. Just need to update the difference of the register address, then we can continue to share the code. Signed-off-by: Joseph Lo <josephl@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/flowctrl.c')
-rw-r--r--arch/arm/mach-tegra/flowctrl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/flowctrl.c b/arch/arm/mach-tegra/flowctrl.c
index 5348543382bf..ce8ab8abf061 100644
--- a/arch/arm/mach-tegra/flowctrl.c
+++ b/arch/arm/mach-tegra/flowctrl.c
@@ -87,6 +87,7 @@ void flowctrl_cpu_suspend_enter(unsigned int cpuid)
break;
case TEGRA30:
case TEGRA114:
+ case TEGRA124:
/* clear wfe bitmap */
reg &= ~TEGRA30_FLOW_CTRL_CSR_WFE_BITMAP;
/* clear wfi bitmap */
@@ -125,6 +126,7 @@ void flowctrl_cpu_suspend_exit(unsigned int cpuid)
break;
case TEGRA30:
case TEGRA114:
+ case TEGRA124:
/* clear wfe bitmap */
reg &= ~TEGRA30_FLOW_CTRL_CSR_WFE_BITMAP;
/* clear wfi bitmap */