summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2020-04-24 16:41:06 +0530
committerAnup Patel <[email protected]>2020-05-01 09:36:13 +0530
commite3ad7c13a07275df7f3dbee68e3e95d73d7a1e0e (patch)
treee5b55b15666060006d10e9c93286766b5d38bb69 /include
parent243b0d0c0c74c7d5281b0748a779f587263f1d21 (diff)
lib: utils: Rename fdt_parse_clint() to fdt_parse_compat_addr()
The fdt_parse_clint() is quite generic and can be used for other types of devices so we rename it to fdt_parse_compat_addr(). Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Alistair Francis <[email protected]> Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/sbi_utils/fdt/fdt_helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sbi_utils/fdt/fdt_helper.h b/include/sbi_utils/fdt/fdt_helper.h
index 1fbc215e..57c47201 100644
--- a/include/sbi_utils/fdt/fdt_helper.h
+++ b/include/sbi_utils/fdt/fdt_helper.h
@@ -32,7 +32,7 @@ int fdt_parse_uart8250(void *fdt, struct platform_uart_data *uart,
int fdt_parse_plic(void *fdt, struct platform_plic_data *plic,
const char *compatible);
-int fdt_parse_clint(void *fdt, unsigned long *clint_addr,
- const char *compatible);
+int fdt_parse_compat_addr(void *fdt, unsigned long *addr,
+ const char *compatible);
#endif /* __FDT_HELPER_H__ */