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 <kalyanic@nvidia.com>
This commit is contained in:
kalyani chidambaram 2018-06-19 15:56:01 -07:00 committed by Varun Wadekar
parent b20a8b92f9
commit 3414bad8f9
1 changed files with 4 additions and 3 deletions

View File

@ -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;
}