From 693afc818feecdbddb75f5c9ec4b436d56f64208 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Fri, 25 Oct 2024 11:59:47 -0700 Subject: 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 Reviewed-by: Anup Patel --- include/sbi_utils/ipi/aclint_mswi.h | 2 -- include/sbi_utils/ipi/andes_plicsw.h | 2 -- 2 files changed, 4 deletions(-) (limited to 'include') 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_ */ -- cgit v1.3.1