[POWERPC] bootwrapper: flatdevtree fixes
authorScott Wood <scottwood@freescale.com>
Wed, 5 Sep 2007 19:21:04 +0000 (05:21 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 13 Sep 2007 15:33:23 +0000 (01:33 +1000)
commit4674f2f33948432469e52d5bcaeda9904e34fe46
treea58ebf94e2d09ddada9365f8d1401efcaef5e088
parent6bcc4c01755fd2066bc374193cf3b0849cbabe47
[POWERPC] bootwrapper: flatdevtree fixes

1. ft_create_node was returning the internal pointer rather than a phandle.
2. ft_find_device_rel was treating a "top" phandle of NULL as an error,
rather than as the root of the tree.  The old, absolute ft_find_device
is removed, and the relative version is renamed to ft_find_device().

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>
arch/powerpc/boot/flatdevtree.c
arch/powerpc/boot/flatdevtree.h
arch/powerpc/boot/flatdevtree_misc.c