summaryrefslogtreecommitdiff
path: root/device_tree.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-09-23 08:37:59 +0200
committerAlexander Graf <agraf@suse.de>2012-10-05 02:35:11 +0200
commit711934334eb3895a89c555c1f57eb3d84ddb2906 (patch)
tree205011ec755ca752920cf26652949c42d9cdad6e /device_tree.h
parent011aba24ed73000e126dd1bb90a6bea2afd91649 (diff)
downloadqemu-711934334eb3895a89c555c1f57eb3d84ddb2906.zip
fdt: move dumpdtb interpretation code to device_tree.c
The dumpdtb code can be useful in more places than just for e500. Move it to a generic place. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'device_tree.h')
-rw-r--r--device_tree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/device_tree.h b/device_tree.h
index f7a3e6cfc5..f0b3f35e03 100644
--- a/device_tree.h
+++ b/device_tree.h
@@ -49,4 +49,6 @@ int qemu_devtree_add_subnode(void *fdt, const char *name);
sizeof(qdt_tmp)); \
} while (0)
+void qemu_devtree_dumpdtb(void *fdt, int size);
+
#endif /* __DEVICE_TREE_H__ */