summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ. Aaron Gamble <jgamble@nvidia.com>2011-08-17 08:38:35 -0700
committerRyan Wong <ryanw@nvidia.com>2011-08-22 21:21:07 -0700
commitc157d599f2455bf791d33015dce772c6839de6d8 (patch)
tree9cf260e55351f95d5a529edffc05b877ec530dab
parent4cac6138d2d7658e779a665c21cd029492f22b61 (diff)
arm: tegra: cardhu: secureos LP2 suspend mode
FOR 12r7 ONLY Temporary change from LP0 to LP2 for secureos customers Change-Id: I076fd59e92ab64e9d9c958bc991e2fc3e13de108 Reviewed-on: http://git-master/r/48583 Reviewed-by: Ryan Wong <ryanw@nvidia.com> Tested-by: Ryan Wong <ryanw@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/board-cardhu-power.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-power.c b/arch/arm/mach-tegra/board-cardhu-power.c
index 9e2f499c664d..b3061f17fb78 100644
--- a/arch/arm/mach-tegra/board-cardhu-power.c
+++ b/arch/arm/mach-tegra/board-cardhu-power.c
@@ -936,7 +936,11 @@ static void cardhu_board_resume(int lp_state, enum resume_stage stg)
static struct tegra_suspend_platform_data cardhu_suspend_data = {
.cpu_timer = 2000,
.cpu_off_timer = 200,
+#ifdef CONFIG_TRUSTED_FOUNDATIONS
+ .suspend_mode = TEGRA_SUSPEND_LP2,
+#else
.suspend_mode = TEGRA_SUSPEND_LP0,
+#endif /* CONFIG_TRUSTED_FOUNDATIONS */
.core_timer = 0x7e7e,
.core_off_timer = 0,
.separate_req = true,