Re: [PATCH 12/18] bootwrapper: Make ft_get_parent() return a phandle, and NULL if already top-level.
From: Segher Boessenkool <hidden>
Date: 2007-01-30 19:56:18
From: Segher Boessenkool <hidden>
Date: 2007-01-30 19:56:18
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? Segher