[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 2/3] ARM: Allow dumping of device tree
From: |
John Rigby |
Subject: |
[Qemu-devel] [PATCH v3 2/3] ARM: Allow dumping of device tree |
Date: |
Fri, 10 May 2013 00:58:37 -0600 |
By calling qemu_devtree_dumpdtb near the end of load_dtb.
Signed-off-by: John Rigby <address@hidden>
---
changes in v3:
- split patch
hw/arm/boot.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/arm/boot.c b/hw/arm/boot.c
index 64b56ac..de71edf 100644
--- a/hw/arm/boot.c
+++ b/hw/arm/boot.c
@@ -312,6 +312,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);
--
1.8.2.2