From e3ad7c13a07275df7f3dbee68e3e95d73d7a1e0e Mon Sep 17 00:00:00 2001
From: Anup Patel <anup.patel@wdc.com>
Date: Fri, 24 Apr 2020 16:41:06 +0530
Subject: 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>
---
 platform/fpga/openpiton/platform.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'platform')

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;
 
-- 
cgit v1.2.3