aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2016-09-01 14:56:17 -0700
committerVarun Wadekar <vwadekar@nvidia.com>2017-03-02 13:01:47 -0800
commit2f6f7206a70dc979cca51d575cf8c08a60f61223 (patch)
tree275e1ad88c4cb825dd94b536101c4eed78a5efe9
parent8539f45dde378969211433622e403ccfe711b2bb (diff)
downloadarm-trusted-firmware-2f6f7206a70dc979cca51d575cf8c08a60f61223.tar.gz
Tegra210: set core power state during cluster power down
This patch sets the core power state during cluster power down, so that the 'get_target_pwr_state' handler can calculate the proper states for all the affinity levels. Change-Id: If4adb001011208916427ee1623c6c923bed99985 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
-rw-r--r--plat/nvidia/tegra/soc/t210/plat_psci_handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/nvidia/tegra/soc/t210/plat_psci_handlers.c b/plat/nvidia/tegra/soc/t210/plat_psci_handlers.c
index 95fb93fe..26bf235e 100644
--- a/plat/nvidia/tegra/soc/t210/plat_psci_handlers.c
+++ b/plat/nvidia/tegra/soc/t210/plat_psci_handlers.c
@@ -76,7 +76,7 @@ int32_t tegra_soc_validate_power_state(unsigned int power_state,
* Cluster powerdown/idle request only for afflvl 1
*/
req_state->pwr_domain_state[MPIDR_AFFLVL1] = state_id;
- req_state->pwr_domain_state[MPIDR_AFFLVL0] = PLAT_MAX_OFF_STATE;
+ req_state->pwr_domain_state[MPIDR_AFFLVL0] = state_id;
break;