diff options
author | Prashant Malani <pmalani@nvidia.com> | 2013-02-15 18:59:44 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:00:45 -0700 |
commit | ec77f76981f2b818601fbf45d5aee344c6441b9b (patch) | |
tree | 7c958debf530590c3e4cb6b405aaab4cd1a392f8 /arch/arm/mach-tegra/pm.h | |
parent | 3fb1da03e391569fc1fc29ebbf3d2d841eae50b4 (diff) |
ARM: tegra14x: Add routines to maintain powermasks
The decision to enter LP1BB might occur well into
iRAM code. These functions will help to save
and restore cpu_power_mask in case we decide to
enter LP1BB in iRAM.
Bug 1236920
Change-Id: Ic1e38281bdc508014d4edb3e9645c7ba89a2b4c1
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/203166
(cherry picked from commit 8fc48afefb64fecb99db1d2cab1ac57d0af19bb2)
Reviewed-on: http://git-master/r/204858
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'arch/arm/mach-tegra/pm.h')
-rw-r--r-- | arch/arm/mach-tegra/pm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/pm.h b/arch/arm/mach-tegra/pm.h index afabd718c77f..c515e6f9b192 100644 --- a/arch/arm/mach-tegra/pm.h +++ b/arch/arm/mach-tegra/pm.h @@ -279,6 +279,11 @@ void tegra_smp_clear_power_mask(void); static inline void tegra_smp_clear_power_mask(void){} #endif +#if defined(CONFIG_ARCH_TEGRA_14x_SOC) +void tegra_smp_save_power_mask(void); +void tegra_smp_restore_power_mask(void); +#endif + #ifdef CONFIG_TRUSTED_FOUNDATIONS void tegra_generic_smc(u32 type, u32 subtype, u32 arg); #endif |