From: Li Liu <john.li...@huawei.com>

By calling qemu_fdt_dumdts before qemu_fdt_dumpdtb.

Signed-off-by: Li Liu <john.li...@huawei.com>
---
 hw/arm/boot.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/arm/boot.c b/hw/arm/boot.c
index e32f2f4..18cc8ac 100644
--- a/hw/arm/boot.c
+++ b/hw/arm/boot.c
@@ -394,6 +394,7 @@ static int load_dtb(hwaddr addr, const struct arm_boot_info 
*binfo)
         binfo->modify_dtb(binfo, fdt);
     }
 
+    qemu_fdt_dumpdts(fdt);
     qemu_fdt_dumpdtb(fdt, size);
 
     cpu_physical_memory_write(addr, fdt, size);
-- 
1.7.9.5



Reply via email to