diff options
author | John Rigby <john.rigby@linaro.org> | 2013-06-25 18:34:13 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2013-06-25 18:34:13 +0100 |
commit | 2acafb1a7b8b5ff4da48fccd7ce217cb07f36ffa (patch) | |
tree | 5b8441558a013be7532d7aa3d318c191cf8eca45 /hw | |
parent | baf8673ca802cb3ea2cdbe94813441d23bde223b (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>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/arm/boot.c | 1 |
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); |