diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2020-03-17 17:59:46 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-18 07:30:30 +0300 |
commit | 6f9bb83c1ff1156bf01d04ab8105765bd3fc20f7 (patch) | |
tree | 04b42a6fb90cf8fa65915857b560bd925517eac9 /platform/sifive/fu540 | |
parent | c9a526877cb10e93efa26f8e5b2f7adce5ddef04 (diff) | |
download | opensbi-6f9bb83c1ff1156bf01d04ab8105765bd3fc20f7.tar.xz |
platform: sifive/fu540: 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/sifive/fu540')
-rw-r--r-- | platform/sifive/fu540/platform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/sifive/fu540/platform.c b/platform/sifive/fu540/platform.c index a10f50b..c89ec47 100644 --- a/platform/sifive/fu540/platform.c +++ b/platform/sifive/fu540/platform.c @@ -89,6 +89,8 @@ static void fu540_modify_dt(void *fdt) "/soc/serial@10010000:115200"); fdt_plic_fixup(fdt, "riscv,plic0"); + + fdt_reserved_memory_fixup(fdt); } static int fu540_final_init(bool cold_boot) |