diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-03-02 16:50:01 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-11 15:30:00 +0530 |
commit | 71d2b837c46e7528ab03bd6489fec86100681f22 (patch) | |
tree | 570c2000c3340cd3a35a66f3560bf06d7c8a4817 /include/sbi/sbi_hart.h | |
parent | d96316481dbc9a52e7e97c4cef70957507c2845f (diff) |
lib: Move all coldboot wait APIs to sbi_init.c
The coldboot wait APIs are only used by sbi_init.c so no point in
having coldboot related code in sbi_hart.c.
As per-above rationale, we move all coldboot wait related APIs to
sbi_init.c as static/local functions.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/sbi/sbi_hart.h')
-rw-r--r-- | include/sbi/sbi_hart.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/sbi/sbi_hart.h b/include/sbi/sbi_hart.h index d88c7de..2ec614d 100644 --- a/include/sbi/sbi_hart.h +++ b/include/sbi/sbi_hart.h @@ -41,10 +41,6 @@ void sbi_hart_unmark_available(u32 hartid); struct sbi_scratch *sbi_hart_id_to_scratch(struct sbi_scratch *scratch, u32 hartid); -void sbi_hart_wait_for_coldboot(struct sbi_scratch *scratch, u32 hartid); - -void sbi_hart_wake_coldboot_harts(struct sbi_scratch *scratch, u32 hartid); - u32 sbi_current_hartid(void); #endif |