aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2013-06-25 18:34:13 +0100
committerPeter Maydell <peter.maydell@linaro.org>2013-06-25 18:34:13 +0100
commit2acafb1a7b8b5ff4da48fccd7ce217cb07f36ffa (patch)
tree5b8441558a013be7532d7aa3d318c191cf8eca45
parentbaf8673ca802cb3ea2cdbe94813441d23bde223b (diff)
ARM: Allow dumping of device tree
By calling qemu_devtree_dumpdtb near the end of load_dtb. Signed-off-by: John Rigby <john.rigby@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--hw/arm/boot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/arm/boot.c b/hw/arm/boot.c
index defcf15097..797c691248 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);