summaryrefslogtreecommitdiff
path: root/include/sbi_utils
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2024-10-25 11:59:47 -0700
committerAnup Patel <[email protected]>2024-11-11 18:18:35 +0530
commit693afc818feecdbddb75f5c9ec4b436d56f64208 (patch)
tree912ef53be729c41fcfb4cc0a7eddccb1e61cddfc /include/sbi_utils
parentbe9752a071475ae1d9e58a2dfcb8e83185fb7ae5 (diff)
lib: sbi_ipi: Move initial IPI clear to sbi_ipi_init()
sbi_ipi_init() expects the platform warm init function to clear IPIs on the local hart, but there is already a generic function to do this. After this change, none of the existing drivers need a warm init callback. Signed-off-by: Samuel Holland <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'include/sbi_utils')
-rw-r--r--include/sbi_utils/ipi/aclint_mswi.h2
-rw-r--r--include/sbi_utils/ipi/andes_plicsw.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/include/sbi_utils/ipi/aclint_mswi.h b/include/sbi_utils/ipi/aclint_mswi.h
index e373a8cb..4b8249f2 100644
--- a/include/sbi_utils/ipi/aclint_mswi.h
+++ b/include/sbi_utils/ipi/aclint_mswi.h
@@ -26,8 +26,6 @@ struct aclint_mswi_data {
u32 hart_count;
};
-int aclint_mswi_warm_init(void);
-
int aclint_mswi_cold_init(struct aclint_mswi_data *mswi);
#endif
diff --git a/include/sbi_utils/ipi/andes_plicsw.h b/include/sbi_utils/ipi/andes_plicsw.h
index 0d184449..f6e1cae5 100644
--- a/include/sbi_utils/ipi/andes_plicsw.h
+++ b/include/sbi_utils/ipi/andes_plicsw.h
@@ -32,8 +32,6 @@ struct plicsw_data {
uint32_t hart_count;
};
-int plicsw_warm_ipi_init(void);
-
int plicsw_cold_ipi_init(struct plicsw_data *plicsw);
#endif /* _IPI_ANDES_PLICSW_H_ */