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 <anup.patel@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
This commit is contained in:
Anup Patel authored and Anup Patel committed 2020-05-01 09:36:13 +05:30
1 parent 243b0d0c0c
commit e3ad7c13a0
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ static int openpiton_early_init(bool cold_boot)
if (!rc)
plic = plic_data;
rc = fdt_parse_clint(fdt, &clint_data, "riscv,clint0");
rc = fdt_parse_compat_addr(fdt, &clint_data, "riscv,clint0");
if (!rc)
clint_addr = clint_data;