forked from Mirrors/opensbi
platform: Update to call general DT fix-up helper
Platform andes/ae350, ariane-fpga, qemu/virt and sifive/fu540 codes have been updated to call this general DT fix-up helper. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
@@ -47,9 +47,7 @@ static int virt_final_init(bool cold_boot)
|
||||
return 0;
|
||||
|
||||
fdt = sbi_scratch_thishart_arg1_ptr();
|
||||
fdt_plic_fixup(fdt, "riscv,plic0");
|
||||
|
||||
fdt_reserved_memory_fixup(fdt);
|
||||
fdt_fixups(fdt);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user