]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
Tegra210: resume PMC hardware block for all platforms
authorkalyani chidambaram <kalyanic@nvidia.com>
Tue, 19 Jun 2018 22:56:01 +0000 (15:56 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 20 Feb 2020 17:25:45 +0000 (09:25 -0800)
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>
plat/nvidia/tegra/soc/t210/plat_psci_handlers.c

index 4ef9558eec03ff14dd5e0aaf5687796d9289d74b..295a9a9cef1510722fd9df630753813437b4db4a 100644 (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;
 }