qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 2/2] ARM: Add dumpdtb support


From: Alexander Graf
Subject: [Qemu-devel] [PATCH 2/2] ARM: Add dumpdtb support
Date: Sun, 23 Sep 2012 08:41:59 +0200

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

Signed-off-by: Alexander Graf <address@hidden>
---
 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

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