This patch adds support for the dumpdtb machine option to all ARM boards that
have device tree support.

Signed-off-by: Alexander Graf <ag...@suse.de>
---
 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 a6e9143..0830a62 100644
--- a/hw/arm_boot.c
+++ b/hw/arm_boot.c
@@ -294,6 +294,7 @@ static int load_dtb(target_phys_addr_t addr, const struct 
arm_boot_info *binfo)
         }
     }
 
+    qemu_devtree_dumpdtb(fdt, size);
     cpu_physical_memory_write(addr, fdt, size);
 
     return 0;
-- 
1.6.0.2


Reply via email to