summaryrefslogtreecommitdiff
path: root/include/sbi_utils/fdt
diff options
context:
space:
mode:
authorAnup Patel <apatel@ventanamicro.com>2021-04-08 15:40:16 +0300
committerAnup Patel <anup@brainfault.org>2022-02-15 18:09:01 +0300
commit34612193af92f29446a3d59bc4f983c9cfe4b989 (patch)
treee0e380cc507d93b5886d93bb12996c92363ceb27 /include/sbi_utils/fdt
parent99792653de29172890ace48e848330d389311199 (diff)
downloadopensbi-34612193af92f29446a3d59bc4f983c9cfe4b989.tar.xz
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 <anup.patel@wdc.com> Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Atish Patra <atishp@rivosinc.com>
Diffstat (limited to 'include/sbi_utils/fdt')
-rw-r--r--include/sbi_utils/fdt/fdt_helper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sbi_utils/fdt/fdt_helper.h b/include/sbi_utils/fdt/fdt_helper.h
index 4c8d29e..1232b26 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);