aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/device_tree.h
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2012-04-02 16:50:42 +0100
committerDavid Vrabel <david.vrabel@citrix.com>2012-04-02 16:50:42 +0100
commitdf8a4a8c5f33de9d2eb9f2a2c303c63ee8245a0a (patch)
tree53f3badaa602c6b22731fa05053fc2a8cff48b64 /xen/include/xen/device_tree.h
parent13bb63b754e433301bef330c4087743677c4ffb8 (diff)
downloadxen-df8a4a8c5f33de9d2eb9f2a2c303c63ee8245a0a.tar.gz
xen-df8a4a8c5f33de9d2eb9f2a2c303c63ee8245a0a.tar.bz2
xen-df8a4a8c5f33de9d2eb9f2a2c303c63ee8245a0a.zip
arm: use bootargs for the command line
Use the /chosen node's bootargs parameter for the Xen command line. Parse it early on before the serial console is setup. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/include/xen/device_tree.h')
-rw-r--r--xen/include/xen/device_tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/xen/device_tree.h b/xen/include/xen/device_tree.h
index 510b5b48ba..8e1626cf8b 100644
--- a/xen/include/xen/device_tree.h
+++ b/xen/include/xen/device_tree.h
@@ -49,6 +49,7 @@ u32 device_tree_get_u32(const void *fdt, int node, const char *prop_name);
bool_t device_tree_node_matches(const void *fdt, int node, const char *match);
int device_tree_for_each_node(const void *fdt,
device_tree_node_func func, void *data);
+const char *device_tree_bootargs(const void *fdt);
void device_tree_dump(const void *fdt);
#endif