From: John Rigby Date: Tue, 25 Jun 2013 17:34:13 +0000 (+0100) Subject: ARM: Allow dumping of device tree X-Git-Tag: v1.6.0-rc0~177^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2acafb1a7b8b5ff4da48fccd7ce217cb07f36ffa;p=thirdparty%2Fqemu.git ARM: Allow dumping of device tree By calling qemu_devtree_dumpdtb near the end of load_dtb. Signed-off-by: John Rigby Signed-off-by: Peter Maydell --- diff --git a/hw/arm/boot.c b/hw/arm/boot.c index defcf150970..797c691248d 100644 --- a/hw/arm/boot.c +++ b/hw/arm/boot.c @@ -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);