[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 1/8] ARM: Allow dumping of device tree

From: Peter Maydell
Subject: [Qemu-devel] [PULL 1/8] ARM: Allow dumping of device tree
Date: Tue, 25 Jun 2013 19:21:49 +0100

From: John Rigby <address@hidden>

By calling qemu_devtree_dumpdtb near the end of load_dtb.

Signed-off-by: John Rigby <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
 hw/arm/boot.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/arm/boot.c b/hw/arm/boot.c
index defcf15..797c691 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 
             fprintf(stderr, "couldn't set /chosen/linux,initrd-end\n");
+    qemu_devtree_dumpdtb(fdt, size);
     cpu_physical_memory_write(addr, fdt, size);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]