diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-03-27 09:13:37 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-28 11:02:52 +0300 |
commit | ec0d80f5b4928ebedee8881be47f8c430db667af (patch) | |
tree | a0ea354ddb79e9d5a6ba42e48e961794bf460859 /include | |
parent | 9e52a45f4be89df7000dcc1009af669e2e30d850 (diff) | |
download | opensbi-ec0d80f5b4928ebedee8881be47f8c430db667af.tar.xz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/sbi/sbi_system.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/include/sbi/sbi_system.h b/include/sbi/sbi_system.h index 3ad8348..8d9c18b 100644 --- a/include/sbi/sbi_system.h +++ b/include/sbi/sbi_system.h @@ -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 |