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 --- platform/template/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/template') diff --git a/platform/template/platform.c b/platform/template/platform.c index 1fc7b7bb..d0f9f32c 100644 --- a/platform/template/platform.c +++ b/platform/template/platform.c @@ -112,7 +112,7 @@ static int platform_ipi_init(bool cold_boot) return ret; } - return aclint_mswi_warm_init(); + return 0; } /* -- cgit v1.3.1