[PATCH 12/18] bootwrapper: Make ft_get_parent() return a phandle, and NULL if already top-level.

Scott Wood scottwood at freescale.com
Wed Jan 31 07:39:58 EST 2007


Segher Boessenkool wrote:
>> It also now returns NULL as the parent of the toplevel node, rather  than
>> just returning the toplevel node again (which made it rather  useless in
>> loops).
> 
> 
> Great, that's how "real" OF handles this as well.  In
> a similar vein, peer(0) should return the root node --
> does it?

I don't see any peer() function in the bootwrapper...

-Scott



More information about the Linuxppc-dev mailing list