lib: utils/irqchip: Use heap in PLIC, APLIC and IMSIC drivers
authorAnup Patel <apatel@ventanamicro.com>
Wed, 19 Apr 2023 11:25:59 +0000 (16:55 +0530)
committerAnup Patel <anup@brainfault.org>
Mon, 5 Jun 2023 10:27:58 +0000 (15:57 +0530)
commit30137166c67753299a7b4a4ac5e1f92269090423
treeb8dfd7b1e92833e1213d45415995f41bf4a5b95b
parent5a8cfcdf19d98b8dc5dd5a087a2eceb7f5b185fb
lib: utils/irqchip: Use heap in PLIC, APLIC and IMSIC drivers

Let's use heap allocation in PLIC, APLIC, and IMSIC irqchip drivers
instead of using a fixed size global array.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
lib/utils/irqchip/fdt_irqchip_aplic.c
lib/utils/irqchip/fdt_irqchip_imsic.c
lib/utils/irqchip/fdt_irqchip_plic.c