summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/flatdevtree.h
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2007-09-05 21:21:12 +0200
committerPaul Mackerras <paulus@samba.org>2007-09-13 17:33:23 +0200
commit21f3fe2f7ab57832ea1fc7f719ec7e167b7ad80e (patch)
tree5a3bf3c623fb858d61ca7effd9b1f8bd8b5e714f /arch/powerpc/boot/flatdevtree.h
parent[POWERPC] bootwrapper: Add strtoull() (diff)
downloadlinux-21f3fe2f7ab57832ea1fc7f719ec7e167b7ad80e.tar.xz
linux-21f3fe2f7ab57832ea1fc7f719ec7e167b7ad80e.zip
[POWERPC] bootwrapper: Add get_path()
This will be used by the PlanetCore firmware support to construct a linux,stdout-path from the serial node that it finds. Signed-off-by: Scott Wood <scottwood@freescale.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/flatdevtree.h')
-rw-r--r--arch/powerpc/boot/flatdevtree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/boot/flatdevtree.h b/arch/powerpc/boot/flatdevtree.h
index 2c1c826c4eca..b0957a2d967f 100644
--- a/arch/powerpc/boot/flatdevtree.h
+++ b/arch/powerpc/boot/flatdevtree.h
@@ -108,5 +108,6 @@ void *ft_find_node_by_prop_value(struct ft_cxt *cxt, const void *prev,
const char *propname, const char *propval,
int proplen);
void *ft_create_node(struct ft_cxt *cxt, const void *parent, const char *name);
+char *ft_get_path(struct ft_cxt *cxt, const void *phandle, char *buf, int len);
#endif /* FLATDEVTREE_H */