diff options
| author | Anup Patel <[email protected]> | 2021-04-08 18:10:16 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2022-02-15 20:39:01 +0530 |
| commit | 34612193af92f29446a3d59bc4f983c9cfe4b989 (patch) | |
| tree | e0e380cc507d93b5886d93bb12996c92363ceb27 /include | |
| parent | 99792653de29172890ace48e848330d389311199 (diff) | |
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 <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi_utils/fdt/fdt_helper.h | 4 |
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 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); |
