diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2020-03-17 07:59:43 -0700 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-18 09:51:55 +0530 |
commit | e846ce168195c9b2c1dac73ad077c09333d92ce6 (patch) | |
tree | 1a56bbfff714491df5c37cd03e00f47c76c8c8b5 /platform | |
parent | 6af55769eb8cd5b9c7fdcd959586e0bc0fce3994 (diff) |
platform: andes/ae350: Fix up DT for reserved memory
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>
Diffstat (limited to 'platform')
-rw-r--r-- | platform/andes/ae350/platform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/andes/ae350/platform.c b/platform/andes/ae350/platform.c index a42db9d..2106589 100644 --- a/platform/andes/ae350/platform.c +++ b/platform/andes/ae350/platform.c @@ -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; } |