summaryrefslogtreecommitdiff
path: root/include/sbi/sbi_system.h
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2019-01-22 11:22:25 +0300
committerAnup Patel <anup@brainfault.org>2019-01-23 06:09:26 +0300
commitfea9e2b5f37446845bec3cc9e2edd6f8308c2332 (patch)
treee50c40a69a229f6d8f2eec0de3b48ded22179114 /include/sbi/sbi_system.h
parentf293d21863c5b23dcb4b151c2fd879696830e0bc (diff)
downloadopensbi-fea9e2b5f37446845bec3cc9e2edd6f8308c2332.tar.xz
lib: Remove hartid paramter from early_init() and final_init() callbacks
We simplify early_init() and final_init() callbacks of sbi_platform by removing "hartid" parameter. Signed-off-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'include/sbi/sbi_system.h')
-rw-r--r--include/sbi/sbi_system.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/sbi/sbi_system.h b/include/sbi/sbi_system.h
index f37445e..3aad646 100644
--- a/include/sbi/sbi_system.h
+++ b/include/sbi/sbi_system.h
@@ -14,11 +14,9 @@
struct sbi_scratch;
-int sbi_system_early_init(struct sbi_scratch *scratch, u32 hartid,
- bool cold_boot);
+int sbi_system_early_init(struct sbi_scratch *scratch, bool cold_boot);
-int sbi_system_final_init(struct sbi_scratch *scratch, u32 hartid,
- bool cold_boot);
+int sbi_system_final_init(struct sbi_scratch *scratch, bool cold_boot);
void __attribute__((noreturn)) sbi_system_reboot(struct sbi_scratch *scratch,
u32 type);