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>
This commit is contained in:
Anup Patel authored and Anup Patel committed 2019-01-23 08:39:26 +05:30
1 parent f293d21863
commit fea9e2b5f3
7 files changed
+22 -28

No files matched your search

+2 -4
View File
@@ -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);