Browse Source

Tegra194: implement system shutdown/reset handlers

This patch implements the PSCI system shutdown and reset handlers,
that in turn issue the MCE commands.

Change-Id: Ia9c831674d7be615a6e336abca42f397e4455572
Signed-off-by: Vignesh Radhakrishnan <vigneshr@nvidia.com>
pull/1937/head
Vignesh Radhakrishnan 8 years ago
committed by Manish Pandey
parent
commit
9091e78942
  1. 6
      plat/nvidia/tegra/soc/t194/plat_psci_handlers.c

6
plat/nvidia/tegra/soc/t194/plat_psci_handlers.c

@ -452,8 +452,7 @@ int32_t tegra_soc_pwr_domain_off(const psci_power_state_t *target_state)
__dead2 void tegra_soc_prepare_system_off(void)
{
/* System power off */
/* SC8 */
mce_system_shutdown();
wfi();
@ -465,5 +464,8 @@ __dead2 void tegra_soc_prepare_system_off(void)
int32_t tegra_soc_prepare_system_reset(void)
{
/* System reboot */
mce_system_reboot();
return PSCI_E_SUCCESS;
}

Loading…
Cancel
Save