platform: andes/ae350: Fix up DT for reserved memory
authorBin Meng <bmeng.cn@gmail.com>
Tue, 17 Mar 2020 14:59:43 +0000 (07:59 -0700)
committerAnup Patel <anup@brainfault.org>
Wed, 18 Mar 2020 04:21:55 +0000 (09:51 +0530)
This calls fdt_reserved_memory_fixup() helper in the platform's
final_init() routine.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
platform/andes/ae350/platform.c

index a42db9d..2106589 100644 (file)
@@ -50,6 +50,8 @@ static int ae350_final_init(bool cold_boot)
        fdt = sbi_scratch_thishart_arg1_ptr();
        fdt_plic_fixup(fdt, "riscv,plic0");
 
+       fdt_reserved_memory_fixup(fdt);
+
        return 0;
 }