lib: utils: Add fdt_parse_plic_node() function

We add fdt_parse_plic_node() function which will allow us to parse
a particular DT node as PLIC node. This will be useful in parsing
the DT node which we have found by matching compatible string.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Dieser Commit ist enthalten in:
Anup Patel
2020-05-01 09:45:53 +05:30
committet von Anup Patel
Ursprung 44dd7be3b2
Commit f0eb503db4
2 geänderte Dateien mit 23 neuen und 6 gelöschten Zeilen
+3
Datei anzeigen
@@ -52,6 +52,9 @@ int fdt_parse_uart8250_node(void *fdt, int nodeoffset,
int fdt_parse_uart8250(void *fdt, struct platform_uart_data *uart,
const char *compatible);
int fdt_parse_plic_node(void *fdt, int nodeoffset,
struct platform_plic_data *plic);
int fdt_parse_plic(void *fdt, struct platform_plic_data *plic,
const char *compatible);