mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-25 07:41:42 +01:00
lib: utils/irqchip: Move per-hart data from fdt_plic to plic
The per-hart PLIC pointer is not really specific to FDT platforms. Move it into the main driver and drop the extra wrapper functions. Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:

committed by
Anup Patel

parent
c6c22f00f4
commit
56fddce83f
@@ -100,7 +100,7 @@ static int platform_irqchip_init(bool cold_boot)
|
||||
return ret;
|
||||
}
|
||||
|
||||
return plic_warm_irqchip_init(&plic);
|
||||
return plic_warm_irqchip_init();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user