summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/flatdevtree.h
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2007-03-12 21:41:53 +0100
committerPaul Mackerras <paulus@samba.org>2007-03-16 05:49:08 +0100
commitfc583411617bf8a466c68350697a806704e88fc3 (patch)
tree816cd7bd2872f30dc8ffe0a9cd2bbfd9deaf9cc8 /arch/powerpc/boot/flatdevtree.h
parent[POWERPC] bootwrapper: Use map_string() instead of lookup_string() in ft_prop(). (diff)
downloadlinux-fc583411617bf8a466c68350697a806704e88fc3.tar.xz
linux-fc583411617bf8a466c68350697a806704e88fc3.zip
[POWERPC] bootwrapper: Add ft_find_device_rel().
Add a function to look up a relative, rather than absolute, path name. Signed-off-by: Scott Wood <scottwood@freescale.com> Acked-by: Mark A. Greer <mgreer@mvista.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/flatdevtree.h')
-rw-r--r--arch/powerpc/boot/flatdevtree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/boot/flatdevtree.h b/arch/powerpc/boot/flatdevtree.h
index b9cd9f61f351..1f37ca2d34f6 100644
--- a/arch/powerpc/boot/flatdevtree.h
+++ b/arch/powerpc/boot/flatdevtree.h
@@ -97,6 +97,8 @@ int ft_add_rsvmap(struct ft_cxt *cxt, u64 physaddr, u64 size);
void ft_dump_blob(const void *bphp);
void ft_merge_blob(struct ft_cxt *cxt, void *blob);
void *ft_find_device(struct ft_cxt *cxt, const char *srch_path);
+void *ft_find_device_rel(struct ft_cxt *cxt, const void *top,
+ const char *srch_path);
void *ft_find_descendent(struct ft_cxt *cxt, void *top, const char *srch_path);
int ft_get_prop(struct ft_cxt *cxt, const void *phandle, const char *propname,
void *buf, const unsigned int buflen);