Commit 2acafb1a authored by John Rigby's avatar John Rigby Committed by Peter Maydell
Browse files

ARM: Allow dumping of device tree



By calling qemu_devtree_dumpdtb near the end of load_dtb.
Signed-off-by: default avatarJohn Rigby <john.rigby@linaro.org>
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment