summaryrefslogtreecommitdiff
path: root/include/sbi/sbi_hsm.h
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-03-18 12:50:12 +0300
committerAnup Patel <anup@brainfault.org>2020-03-19 06:53:12 +0300
commitdb187d616c6bfd9f01bbc566117bf5a6241660c1 (patch)
tree0a2ece0447e963d8ebe04fb31e0196a0331a49e8 /include/sbi/sbi_hsm.h
parent680b09872dd9fe43adfaa29dd95d0d035f5e0ac2 (diff)
downloadopensbi-db187d616c6bfd9f01bbc566117bf5a6241660c1.tar.xz
lib: sbi_hsm: Remove scratch parameter from hart_started_mask() API
The scratch parameter in sbi_hsm_hart_started_mask() API is now redundant hence removing it. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'include/sbi/sbi_hsm.h')
-rw-r--r--include/sbi/sbi_hsm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sbi/sbi_hsm.h b/include/sbi/sbi_hsm.h
index 65aff9f..f2f39ba 100644
--- a/include/sbi/sbi_hsm.h
+++ b/include/sbi/sbi_hsm.h
@@ -28,8 +28,7 @@ int sbi_hsm_hart_stop(struct sbi_scratch *scratch, bool exitnow);
int sbi_hsm_hart_get_state(u32 hartid);
int sbi_hsm_hart_state_to_status(int state);
bool sbi_hsm_hart_started(u32 hartid);
-int sbi_hsm_hart_started_mask(struct sbi_scratch *scratch,
- ulong hbase, ulong *out_hmask);
+int sbi_hsm_hart_started_mask(ulong hbase, ulong *out_hmask);
void sbi_hsm_prepare_next_jump(struct sbi_scratch *scratch, u32 hartid);
#endif