summaryrefslogtreecommitdiff
path: root/platform/template
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 /platform/template
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 'platform/template')
-rw-r--r--platform/template/platform.c2
1 files changed, 1 insertions, 1 deletions
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;
}
/*