[PATCH 2/2] Allow nodes at the root to be specified by path as well as by label.
David Gibson
david at gibson.dropbear.id.au
Tue Oct 19 13:14:11 EST 2010
On Mon, Oct 18, 2010 at 01:25:50PM -0700, John Bonesio wrote:
> Changes to allow us to specify a node by it's path. A path can be used in
> place of a label.
>
> This is particularly useful when overriding existing nodes.
> This way we don't have to label every possible node in a device tree we know
> is a base device tree for a class of systems, and we know the tree will be
> modified for the specific systems.
Nack. This patch is pointless, the DT_REF lexing will already resolve
paths in the form &{/some/path} and I see no reason that won't work
for tree merging as well. Oh, and bare &/path/to/node is a bad idea
anyway, more about that later.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
More information about the devicetree-discuss
mailing list