diff options
Diffstat (limited to 'include/sbi_utils')
-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 3a15aca..98c789b 100644 --- a/include/sbi_utils/fdt/fdt_helper.h +++ b/include/sbi_utils/fdt/fdt_helper.h @@ -10,6 +10,8 @@ #ifndef __FDT_HELPER_H__ #define __FDT_HELPER_H__ +#include <sbi/sbi_types.h> + struct fdt_match { const char *compatible; void *data; @@ -37,6 +39,8 @@ int fdt_find_match(void *fdt, const struct fdt_match *match_table, int fdt_get_node_addr_size(void *fdt, int node, unsigned long *addr, unsigned long *size); +int fdt_parse_hart_id(void *fdt, int cpu_offset, u32 *hartid); + int fdt_parse_sifive_uart_node(void *fdt, int nodeoffset, struct platform_uart_data *uart); |