summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJ. Aaron Gamble <jgamble@nvidia.com>2011-08-17 08:38:35 -0700
committerRyan Wong <ryanw@nvidia.com>2011-09-07 10:11:40 -0700
commitdb4e77f09608b8224c578d4341673c88123ee6ed (patch)
treed1b24d9f05916b1a1d57816cdcfe7d8438b84c35 /arch
parent22763947a76eac49d71097c87e933e0383246bb7 (diff)
arm: tegra: cardhu: secureos LP2 suspend mode
Temporary change from LP0 to LP2 for secureos customers Bug 857303 Change-Id: If106ee433bcda0bcaffcab70f6e083e17c15f07e Reviewed-on: http://git-master/r/50999 Reviewed-by: Ryan Wong <ryanw@nvidia.com> Tested-by: Ryan Wong <ryanw@nvidia.com>
Diffstat (limited to 'arch')
-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 d20422958a7d..717525d324f9 100644
--- a/arch/arm/mach-tegra/board-cardhu-power.c
+++ b/arch/arm/mach-tegra/board-cardhu-power.c
@@ -980,7 +980,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,