Re: [RFC/PATCH 2/3] of: add of_lookup_stdout() utility function
From: Segher Boessenkool <hidden>
Date: 2008-08-06 16:25:48
Also in:
linux-devicetree
From: Segher Boessenkool <hidden>
Date: 2008-08-06 16:25:48
Also in:
linux-devicetree
It's not what we do with flattened device trees blobs though. In the flattened tree we're not using a /chosen/stdout property, just the linux,stdout-path one. The question that remains is; should there be? Should the dt blobs use /chosen/stdout also? (I'm not familiar enough with real OF to know the answer. I'm assuming that an instance value is not the same as a phandle).
ihandles and phandles are not the same thing in OF. Since in the "flat world" we cannot have instances, we should use phandles instead of ihandles for the things in /chosen. I thought we agreed on that already, perhaps I am wrong? Segher