Commit 9091e789 authored by Vignesh Radhakrishnan's avatar Vignesh Radhakrishnan Committed by Manish Pandey
Browse files

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: default avatarVignesh Radhakrishnan <vigneshr@nvidia.com>
parent 0789758a
...@@ -452,8 +452,7 @@ int32_t tegra_soc_pwr_domain_off(const psci_power_state_t *target_state) ...@@ -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) __dead2 void tegra_soc_prepare_system_off(void)
{ {
/* System power off */ /* System power off */
mce_system_shutdown();
/* SC8 */
wfi(); wfi();
...@@ -465,5 +464,8 @@ __dead2 void tegra_soc_prepare_system_off(void) ...@@ -465,5 +464,8 @@ __dead2 void tegra_soc_prepare_system_off(void)
int32_t tegra_soc_prepare_system_reset(void) int32_t tegra_soc_prepare_system_reset(void)
{ {
/* System reboot */
mce_system_reboot();
return PSCI_E_SUCCESS; return PSCI_E_SUCCESS;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment