lib: utils: Add simple FDT irqchip framework
authorAnup Patel <anup.patel@wdc.com>
Fri, 24 Apr 2020 11:26:33 +0000 (16:56 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 1 May 2020 04:30:35 +0000 (10:00 +0530)
commit75322a634bc8494fc5cf0f5290c81e1100789631
tree82633439ff683b2dd6fe79a729b287d3d8f0df6d
parent76f0f814075338970c7e7914ab94644e855632f7
lib: utils: Add simple FDT irqchip framework

We add simple irqchip framework which will select and use irqchip driver
based on details in FDT passed by previous booting stage.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
include/sbi_utils/irqchip/fdt_irqchip.h [new file with mode: 0644]
lib/utils/irqchip/fdt_irqchip.c [new file with mode: 0644]
lib/utils/irqchip/fdt_irqchip_plic.c [new file with mode: 0644]
lib/utils/irqchip/objects.mk