mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-06-26 08:08:54 +00:00
include: sbi_system: Remove scratch parameter and redundant functions
This patch removes scratch parameter and redundant functions from sbi_system. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
This commit is contained in:
parent
9e52a45f4b
commit
ec0d80f5b4
4 changed files with 11 additions and 39 deletions
|
@ -12,18 +12,8 @@
|
|||
|
||||
#include <sbi/sbi_types.h>
|
||||
|
||||
struct sbi_scratch;
|
||||
void __noreturn sbi_system_reboot(u32 type);
|
||||
|
||||
int sbi_system_early_init(struct sbi_scratch *scratch, bool cold_boot);
|
||||
|
||||
int sbi_system_final_init(struct sbi_scratch *scratch, bool cold_boot);
|
||||
|
||||
void sbi_system_early_exit(struct sbi_scratch *scratch);
|
||||
|
||||
void sbi_system_final_exit(struct sbi_scratch *scratch);
|
||||
|
||||
void __noreturn sbi_system_reboot(struct sbi_scratch *scratch, u32 type);
|
||||
|
||||
void __noreturn sbi_system_shutdown(struct sbi_scratch *scratch, u32 type);
|
||||
void __noreturn sbi_system_shutdown(u32 type);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue