projects
/
platform
/
kernel
/
opensbi-spacemit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8135520
)
platform: qemu/virt: Fix up DT for reserved memory
author
Bin Meng
<bmeng.cn@gmail.com>
Tue, 17 Mar 2020 14:59:45 +0000
(07:59 -0700)
committer
Anup Patel
<anup@brainfault.org>
Wed, 18 Mar 2020 04:24:07 +0000
(09:54 +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: Anup Patel <anup.patel@wdc.com>
platform/qemu/virt/platform.c
patch
|
blob
|
history
diff --git
a/platform/qemu/virt/platform.c
b/platform/qemu/virt/platform.c
index
c103e85
..
c2e3b70
100644
(file)
--- a/
platform/qemu/virt/platform.c
+++ b/
platform/qemu/virt/platform.c
@@
-49,6
+49,8
@@
static int virt_final_init(bool cold_boot)
fdt = sbi_scratch_thishart_arg1_ptr();
fdt_plic_fixup(fdt, "riscv,plic0");
+ fdt_reserved_memory_fixup(fdt);
+
return 0;
}