diff options
author | Anup Patel <apatel@ventanamicro.com> | 2021-04-21 12:57:29 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-02-15 18:07:05 +0300 |
commit | 811da5c54180aafde6cb7740b1ccaf92d1017f24 (patch) | |
tree | 4cb13c91cc621fcfce4bc2c616360e3249021e67 /include | |
parent | 9f73669959dd8ec2f1261b639f9540799dc976a1 (diff) | |
download | opensbi-811da5c54180aafde6cb7740b1ccaf92d1017f24.tar.xz |
lib: utils/irqchip: Add FDT based driver for IMSIC
We add simple FDT irqchip driver for IMSIC so that generic platform
(and other FDT based platforms) can utilize common IMIC 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')
-rw-r--r-- | include/sbi_utils/fdt/fdt_helper.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sbi_utils/fdt/fdt_helper.h b/include/sbi_utils/fdt/fdt_helper.h index 24fee7a..4c8d29e 100644 --- a/include/sbi_utils/fdt/fdt_helper.h +++ b/include/sbi_utils/fdt/fdt_helper.h @@ -68,6 +68,12 @@ int fdt_parse_uart8250_node(void *fdt, int nodeoffset, int fdt_parse_uart8250(void *fdt, struct platform_uart_data *uart, const char *compatible); +struct imsic_data; + +bool fdt_check_imsic_mlevel(void *fdt); + +int fdt_parse_imsic_node(void *fdt, int nodeoff, struct imsic_data *imsic); + struct plic_data; int fdt_parse_plic_node(void *fdt, int nodeoffset, struct plic_data *plic); |