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>
This commit is contained in:
Bin Meng
2021-03-27 13:05:26 +08:00
committed by Anup Patel
parent 9190ad12f7
commit ca3f35821b
2 changed files with 4 additions and 5 deletions

View File

@@ -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