mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-10-09 18:12:18 +01:00
include: sbi: Remove platform specific IPI init
The platform specfic IPI init is not need anymore because using IPI device rating multiple IPI devices can be registered in any order as part of the platform specific early init. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Samuel Holland <samuel.holland@sifive.com> Tested-by: Nick Hu <nick.hu@sifive.com> Link: https://lore.kernel.org/r/20250904052410.546818-3-apatel@ventanamicro.com Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
@@ -229,6 +229,10 @@ int generic_early_init(bool cold_boot)
|
||||
return rc;
|
||||
|
||||
fdt_driver_init_all(fdt, fdt_early_drivers);
|
||||
|
||||
rc = fdt_ipi_init();
|
||||
if (rc)
|
||||
return rc;
|
||||
}
|
||||
|
||||
return 0;
|
||||
@@ -337,7 +341,6 @@ struct sbi_platform_operations generic_platform_ops = {
|
||||
.extensions_init = generic_extensions_init,
|
||||
.domains_init = generic_domains_init,
|
||||
.irqchip_init = fdt_irqchip_init,
|
||||
.ipi_init = fdt_ipi_init,
|
||||
.pmu_init = generic_pmu_init,
|
||||
.pmu_xlate_to_mhpmevent = generic_pmu_xlate_to_mhpmevent,
|
||||
.get_tlbr_flush_limit = generic_tlbr_flush_limit,
|
||||
|
Reference in New Issue
Block a user