diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-04-24 09:56:22 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-04-27 12:05:29 +0300 |
commit | a9eac67ad019200e9a281a6fc10e394353a026f2 (patch) | |
tree | bb99209d3573cfc5a6e0a2617163a160e5e452a7 /include/sbi_utils/sys | |
parent | 1bb00ab3aeabde78579774eef8eadc7b7e765924 (diff) | |
download | opensbi-a9eac67ad019200e9a281a6fc10e394353a026f2.tar.xz |
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>
Diffstat (limited to 'include/sbi_utils/sys')
-rw-r--r-- | include/sbi_utils/sys/htif.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sbi_utils/sys/htif.h b/include/sbi_utils/sys/htif.h index 42903e8..7384b48 100644 --- a/include/sbi_utils/sys/htif.h +++ b/include/sbi_utils/sys/htif.h @@ -14,6 +14,6 @@ void htif_putc(char ch); int htif_getc(void); -int htif_system_down(u32 type); +int htif_system_reset(u32 type); #endif |