提交 2acafb1a 编写于 作者: J John Rigby 提交者: Peter Maydell

ARM: Allow dumping of device tree

By calling qemu_devtree_dumpdtb near the end of load_dtb.
Signed-off-by: NJohn Rigby <john.rigby@linaro.org>
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
上级 baf8673c
......@@ -303,6 +303,7 @@ static int load_dtb(hwaddr addr, const struct arm_boot_info *binfo)
fprintf(stderr, "couldn't set /chosen/linux,initrd-end\n");
}
}
qemu_devtree_dumpdtb(fdt, size);
cpu_physical_memory_write(addr, fdt, size);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册