[POWERPC] bootwrapper: Refactor ft_get_prop() into internal and external functions.
authorScott Wood <scottwood@freescale.com>
Mon, 12 Mar 2007 20:41:54 +0000 (14:41 -0600)
committerPaul Mackerras <paulus@samba.org>
Fri, 16 Mar 2007 04:49:10 +0000 (15:49 +1100)
commitc350038b2bdabb07611dcc8116b55f917ada09fa
tree431879cc84411c82fc458e9280eebc56a61a8b57
parentfc583411617bf8a466c68350697a806704e88fc3
[POWERPC] bootwrapper: Refactor ft_get_prop() into internal and external functions.

The property searching part of ft_get_prop is factored out into an
internal __ft_get_prop() which does not deal with phandles and does not
copy the property data.  ft_get_prop() is then a wrapper that does the
phandle translation and copying.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/flatdevtree.c