diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2020-03-17 07:59:51 -0700 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-18 11:09:31 +0530 |
commit | 3f8d754c2c7f2937b10013ea2866d7e7ebfee60b (patch) | |
tree | 619031fda732fafbb67a1ceb440e845326e900cf /platform/sifive/fu540/platform.c | |
parent | db6a2b5c681e30351061df089ab2e86bae4509a9 (diff) |
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>
Diffstat (limited to 'platform/sifive/fu540/platform.c')
-rw-r--r-- | platform/sifive/fu540/platform.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/platform/sifive/fu540/platform.c b/platform/sifive/fu540/platform.c index 6a8c7b2..db647ca 100644 --- a/platform/sifive/fu540/platform.c +++ b/platform/sifive/fu540/platform.c @@ -60,9 +60,7 @@ static void fu540_modify_dt(void *fdt) { fdt_cpu_fixup(fdt); - fdt_plic_fixup(fdt, "riscv,plic0"); - - fdt_reserved_memory_fixup(fdt); + fdt_fixups(fdt); } static int fu540_final_init(bool cold_boot) |