]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit67f02e62eae8941555107cecfabc570f03f6196c
treea58ebf94e2d09ddada9365f8d1401efcaef5e088
parente37874cf8a09da964583580793b16904b2c06e38
[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