aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/flatdevtree.h
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2007-09-06 05:21:12 +1000
committerPaul Mackerras <paulus@samba.org>2007-09-14 01:33:23 +1000
commit21f3fe2f7ab57832ea1fc7f719ec7e167b7ad80e (patch)
tree5a3bf3c623fb858d61ca7effd9b1f8bd8b5e714f /arch/powerpc/boot/flatdevtree.h
parent9de782770b84768e1aa2e6454223ef30768de84e (diff)
downloadkernel_samsung_crespo-21f3fe2f7ab57832ea1fc7f719ec7e167b7ad80e.zip
kernel_samsung_crespo-21f3fe2f7ab57832ea1fc7f719ec7e167b7ad80e.tar.gz
kernel_samsung_crespo-21f3fe2f7ab57832ea1fc7f719ec7e167b7ad80e.tar.bz2
[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 2c1c826..b0957a2 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 */