diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-04-24 16:41:06 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-05-01 09:36:13 +0530 |
commit | e3ad7c13a07275df7f3dbee68e3e95d73d7a1e0e (patch) | |
tree | e5b55b15666060006d10e9c93286766b5d38bb69 /platform | |
parent | 243b0d0c0c74c7d5281b0748a779f587263f1d21 (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 <anup.patel@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'platform')
-rw-r--r-- | platform/fpga/openpiton/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/fpga/openpiton/platform.c b/platform/fpga/openpiton/platform.c index 019dcc5..c549a95 100644 --- a/platform/fpga/openpiton/platform.c +++ b/platform/fpga/openpiton/platform.c @@ -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; |