ti: k3: common: Add basic PSCI reset support

Use TI-SCI messages to request reset from system controller firmware.

Signed-off-by: Andrew F. Davis <afd@ti.com>
This commit is contained in:
Andrew F. Davis 2018-05-24 11:15:42 -05:00
parent df83b0348b
commit c8761b4dbb
1 changed files with 2 additions and 2 deletions

View File

@ -92,8 +92,8 @@ void k3_pwr_domain_on_finish(const psci_power_state_t *target_state)
static void __dead2 k3_system_reset(void)
{
/* TODO: Indicate to System firmware about system reset */
STUB();
/* Send the system reset request to system firmware */
ti_sci_core_reboot();
while (true)
wfi();