diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-01-03 11:17:44 +0530 |
---|---|---|
committer | Anup Patel <anup.patel@wdc.com> | 2020-01-07 12:11:36 +0530 |
commit | 15ed1e74526d85f94c2cda338c572e36e249c803 (patch) | |
tree | e132b968b341b7324ebfc8e51c0cc366d25ba739 /Makefile | |
parent | b0c9787435e56550aea4d110dc503ac23f9801a6 (diff) |
lib: improve system reboot and shutdown implementation
We improve sbi_system_reboot() an sbi_system_shutdown() by:
1. Calling halt IPI to all harts (except current HART) before
calling platform reboot/shutdown hook.
2. Calling sbi_exit() instead of sbi_hang() in-case platform
reboot/shutdown hook failed.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions