summaryrefslogtreecommitdiff
path: root/plat/nvidia/tegra
diff options
context:
space:
mode:
authoranzhou <anzhou@nvidia.com>2020-08-05 22:34:13 +0800
committerVarun Wadekar <vwadekar@nvidia.com>2020-08-31 11:21:17 -0700
commitc23f5e1cb920bbf6d623a6f91719eb98a5292e52 (patch)
tree71f46a9310f93254af08f4c930cf7a437bd9880c /plat/nvidia/tegra
parent5f902752e5c78112ebc8103b6d313171791ab755 (diff)
downloadarm-trusted-firmware-c23f5e1cb920bbf6d623a6f91719eb98a5292e52.tar.gz
Tegra: common: disable GICC after domain off
The the GIC CPU interface should be disabled after cpu off. The Tegra power management code should mark the connected core as asleep as part of the CPU off sequence. This patch disables the GICC after CPU off as a result. Signed-off-by: anzhou <anzhou@nvidia.com> Change-Id: Ib1a3d8903f5e6d55bd2ee0c16134dbe2562235ea
Diffstat (limited to 'plat/nvidia/tegra')
-rw-r--r--plat/nvidia/tegra/common/tegra_pm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plat/nvidia/tegra/common/tegra_pm.c b/plat/nvidia/tegra/common/tegra_pm.c
index d0191d07d..27dd3a290 100644
--- a/plat/nvidia/tegra/common/tegra_pm.c
+++ b/plat/nvidia/tegra/common/tegra_pm.c
@@ -96,6 +96,9 @@ static int32_t tegra_pwr_domain_on(u_register_t mpidr)
static void tegra_pwr_domain_off(const psci_power_state_t *target_state)
{
(void)tegra_soc_pwr_domain_off(target_state);
+
+ /* disable GICC */
+ tegra_gic_cpuif_deactivate();
}
/*******************************************************************************