lib: sbi: Simplify system reset platform operations

Instead of having system_reset_check() and system_reset() callbacks
in platform operations, it will be much simpler for reset driver to
directly register these operations as a device to the sbi_system
implementation.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
Anup Patel authored and Anup Patel committed 2021-04-28 17:25:00 +05:30
1 parent dc39c7b630
commit 043d088e39
17 files changed
+148 -171

No files matched your search

+1 -3
View File
@@ -12,8 +12,6 @@
int htif_serial_init(void);
int htif_system_reset_check(u32 type, u32 reason);
void htif_system_reset(u32 type, u32 reason);
int htif_system_reset_init(void);
#endif