[PATCH 2/3] Use embedded libfdt in the bootwrapper

Scott Wood scottwood at freescale.com
Tue Dec 11 10:27:01 EST 2007


Scott Wood wrote:
> David Gibson wrote:
>> On Mon, Dec 10, 2007 at 11:32:17AM -0600, Scott Wood wrote:
>>> How does using offsets as devps work if a devp was previously
>>> acquired to a node that has to be moved due to a change later made
>>> in an earlier part of the tree?
>>
>> It doesn't; don't do that.  I just don't think truly persistent 
>> phandles are worth the code complexity to implement them.
[snip]
> It breaks the extremely common and useful usage of:
> 
> devp = create node;
> setprop(devp, "foo", something);
> setprop(devp, "bar", something);

BTW, there's code in devtree.c with your name on it that does exactly 
this. :-)

-Scott



More information about the Linuxppc-dev mailing list