forked from Mirrors/opensbi
include: sbi_platform: Combine reboot and shutdown into one callback
We can achieve shutdown, cold reboot, and warm reboot using just one sbi_platform callback so we combine system_reboot() and system_shutdown() callbacks into one system_reset() callback. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
This commit is contained in:
@@ -140,7 +140,7 @@ int htif_getc(void)
|
||||
return ch - 1;
|
||||
}
|
||||
|
||||
int htif_system_down(u32 type)
|
||||
int htif_system_reset(u32 type)
|
||||
{
|
||||
while (1) {
|
||||
fromhost = 0;
|
||||
|
Reference in New Issue
Block a user