diff options
| author | Samuel Holland <[email protected]> | 2024-10-25 11:59:47 -0700 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-11-11 18:18:35 +0530 |
| commit | 693afc818feecdbddb75f5c9ec4b436d56f64208 (patch) | |
| tree | 912ef53be729c41fcfb4cc0a7eddccb1e61cddfc /platform | |
| parent | be9752a071475ae1d9e58a2dfcb8e83185fb7ae5 (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')
| -rw-r--r-- | platform/fpga/ariane/platform.c | 2 | ||||
| -rw-r--r-- | platform/fpga/openpiton/platform.c | 2 | ||||
| -rw-r--r-- | platform/kendryte/k210/platform.c | 2 | ||||
| -rw-r--r-- | platform/nuclei/ux600/platform.c | 2 | ||||
| -rw-r--r-- | platform/template/platform.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/platform/fpga/ariane/platform.c b/platform/fpga/ariane/platform.c index dfe170f9..fb98aade 100644 --- a/platform/fpga/ariane/platform.c +++ b/platform/fpga/ariane/platform.c @@ -143,7 +143,7 @@ static int ariane_ipi_init(bool cold_boot) return ret; } - return aclint_mswi_warm_init(); + return 0; } /* diff --git a/platform/fpga/openpiton/platform.c b/platform/fpga/openpiton/platform.c index 2bfc15ce..6c658be5 100644 --- a/platform/fpga/openpiton/platform.c +++ b/platform/fpga/openpiton/platform.c @@ -174,7 +174,7 @@ static int openpiton_ipi_init(bool cold_boot) return ret; } - return aclint_mswi_warm_init(); + return 0; } /* diff --git a/platform/kendryte/k210/platform.c b/platform/kendryte/k210/platform.c index 06b7eb74..1c7bd110 100644 --- a/platform/kendryte/k210/platform.c +++ b/platform/kendryte/k210/platform.c @@ -156,7 +156,7 @@ static int k210_ipi_init(bool cold_boot) return rc; } - return aclint_mswi_warm_init(); + return 0; } static int k210_timer_init(void) diff --git a/platform/nuclei/ux600/platform.c b/platform/nuclei/ux600/platform.c index d4f309aa..f3b7f98c 100644 --- a/platform/nuclei/ux600/platform.c +++ b/platform/nuclei/ux600/platform.c @@ -212,7 +212,7 @@ static int ux600_ipi_init(bool cold_boot) return rc; } - return aclint_mswi_warm_init(); + return 0; } static int ux600_timer_init(void) 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; } /* |
