diff options
author | Anup Patel <anup.patel@wdc.com> | 2019-01-22 11:22:25 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-01-23 06:09:26 +0300 |
commit | fea9e2b5f37446845bec3cc9e2edd6f8308c2332 (patch) | |
tree | e50c40a69a229f6d8f2eec0de3b48ded22179114 /include/sbi/sbi_system.h | |
parent | f293d21863c5b23dcb4b151c2fd879696830e0bc (diff) | |
download | opensbi-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.h | 6 |
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); |