From 3414bad8f96285cbb0968c8389c8f8fdabba8cbf Mon Sep 17 00:00:00 2001 From: kalyani chidambaram Date: Tue, 19 Jun 2018 15:56:01 -0700 Subject: [PATCH] Tegra210: resume PMC hardware block for all platforms The PMC hardware block resume handler was called for Tegra210 platforms, only if the sc7entry-fw was present on the device. This would cause problems for devices that do not support this firmware. This patch fixes this logic and resumes the PMC block even if the sc7entry-fw is not present on the device. Change-Id: I6f0eb7878126f624ea98392f583ed45a231d27db Signed-off-by: Kalyani Chidambaram --- plat/nvidia/tegra/soc/t210/plat_psci_handlers.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plat/nvidia/tegra/soc/t210/plat_psci_handlers.c b/plat/nvidia/tegra/soc/t210/plat_psci_handlers.c index 4ef9558ee..295a9a9ce 100644 --- a/plat/nvidia/tegra/soc/t210/plat_psci_handlers.c +++ b/plat/nvidia/tegra/soc/t210/plat_psci_handlers.c @@ -533,10 +533,11 @@ int tegra_soc_pwr_domain_on_finish(const psci_power_state_t *target_state) tegra_fc_lock_active_cluster(); /* - * Resume PMC hardware block for Tegra210 platforms supporting sc7entry-fw - */ - if (!tegra_chipid_is_t210_b01() && (plat_params->sc7entry_fw_base != 0U)) + * Resume PMC hardware block for Tegra210 platforms + */ + if (!tegra_chipid_is_t210_b01()) { tegra_pmc_resume(); + } return PSCI_E_SUCCESS; } -- 2.39.5