
On 11/4/07, David Gibson david@gibson.dropbear.id.au wrote:
On Sat, Nov 03, 2007 at 09:29:48PM -0600, Grant Likely wrote:
Maybe something like: aliases { enet0,phandle = <&enet0>; enet1,phandle = <&enet1>; ... };
The fairly small advantages of using phandles here are not worth the hassle of defining a new alias format, when the OF one with full paths already exists.
I would, however, like to extend dtc so that we can do something like: aliases { enet0 = &enet0; }; and the reference in non-cell context will expand to the full path. That could be used for things like linux,stdout-path in /chosen, too.
I'd also like to extend dtc so that the label can be tagged somehow, say: *enet0: { ... }; and as well as creating a normal dtc label, an alias will also be automatically added to /aliases.
Yeah, okay! I like both of those ideas. That certainly addresses my ease of maintenance concerns.
Cheers, g.