From 34612193af92f29446a3d59bc4f983c9cfe4b989 Mon Sep 17 00:00:00 2001 From: Anup Patel Date: Thu, 8 Apr 2021 18:10:16 +0530 Subject: lib: utils/irqchip: Add FDT based driver for APLIC We add simple FDT irqchip driver for APLIC so that generic platform (and other FDT based platforms) can utilize common APLIC initialization library. Signed-off-by: Anup Patel Signed-off-by: Anup Patel Reviewed-by: Atish Patra --- include/sbi_utils/fdt/fdt_helper.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/sbi_utils/fdt/fdt_helper.h b/include/sbi_utils/fdt/fdt_helper.h index 4c8d29e7..1232b26d 100644 --- a/include/sbi_utils/fdt/fdt_helper.h +++ b/include/sbi_utils/fdt/fdt_helper.h @@ -68,6 +68,10 @@ int fdt_parse_uart8250_node(void *fdt, int nodeoffset, int fdt_parse_uart8250(void *fdt, struct platform_uart_data *uart, const char *compatible); +struct aplic_data; + +int fdt_parse_aplic_node(void *fdt, int nodeoff, struct aplic_data *aplic); + struct imsic_data; bool fdt_check_imsic_mlevel(void *fdt); -- cgit v1.3.1