summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2021-03-27 08:05:26 +0300
committerAnup Patel <anup@brainfault.org>2021-04-01 07:57:28 +0300
commitca3f35821baa18e309d856c0cf886b81970f2a00 (patch)
tree0dcd2e6229c6ea424623bb9902030953be7aea32 /include
parent9190ad12f7053497f2bd06af29f25015f7890278 (diff)
downloadopensbi-ca3f35821baa18e309d856c0cf886b81970f2a00.tar.xz
lib/utils: Drop the 'compat' parameter of fdt_plic_fixup()
At present fdt_plic_fixup() accepts a 'compat' parameter for PLIC compatible string. In preparation to support the new DT bindings, drop this and use "riscv,plic0" directly in fdt_plic_fixup(). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'include')
-rw-r--r--include/sbi_utils/fdt/fdt_fixup.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sbi_utils/fdt/fdt_fixup.h b/include/sbi_utils/fdt/fdt_fixup.h
index 0697a18..c38e5d9 100644
--- a/include/sbi_utils/fdt/fdt_fixup.h
+++ b/include/sbi_utils/fdt/fdt_fixup.h
@@ -30,9 +30,8 @@ void fdt_cpu_fixup(void *fdt);
* It is recommended that platform codes call this helper in their final_init()
*
* @param fdt: device tree blob
- * @param compat: PLIC node compatible string
*/
-void fdt_plic_fixup(void *fdt, const char *compat);
+void fdt_plic_fixup(void *fdt);
/**
* Fix up the reserved memory node in the device tree