diff options
author | Varun Wadekar <vwadekar@nvidia.com> | 2014-03-07 14:24:03 +0530 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2014-03-14 05:23:59 -0700 |
commit | 271d8ae75f6a85fefd8ab5297d58d97c6973274f (patch) | |
tree | e69b0f470948d69a05ad366b05f1a86c962cc59c /arch/arm/mach-tegra/cpuidle-t11x.c | |
parent | 1763e277f350fb6f5c277a022d0ef9fa97b3b15a (diff) |
ARM: tegra: remove CONFIG_USE_SECURE_KERNEL usage
Remove the config variable usage from the kernel and make the secure
firmware check dynamic. This make LP1 resume tricky since we need to
execute out of TZRAM till SDRAM is out of self-refresh. To fix this,
store secure firmware presence bit in TZRAM during boot.
Bug 1475528
Change-Id: Ic18766bbee14626e8cf092363d57f4d98b44b6df
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/377616
Diffstat (limited to 'arch/arm/mach-tegra/cpuidle-t11x.c')
-rw-r--r-- | arch/arm/mach-tegra/cpuidle-t11x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/cpuidle-t11x.c b/arch/arm/mach-tegra/cpuidle-t11x.c index b31bda2a6d5b..cb883264593b 100644 --- a/arch/arm/mach-tegra/cpuidle-t11x.c +++ b/arch/arm/mach-tegra/cpuidle-t11x.c @@ -472,7 +472,7 @@ static int tegra_cpu_core_power_down(struct cpuidle_device *dev, if (psci_ops.cpu_suspend) { psci_ret = psci_ops.cpu_suspend(pps, entry_point); while (psci_ret == -EPERM) - psci_ret = tegra_generic_smc(60 << 24, 0, 0); + psci_ret = tegra_restart_prev_smc(); } } #endif |