[dtc] Allow references to labels

Kumar Gala galak at kernel.crashing.org
Wed Feb 7 15:36:45 EST 2007


On Feb 6, 2007, at 9:29 PM, David Gibson wrote:

> dtc allows nodes to have labels, which at present are just re-emitted
> as symbols at the appropriate places when using asm-mode output.  It
> also allows "references" where the notation &/path/to/node in a cell
> list will be replaced with the phandle of the referenced node.
>
> This patch extends the reference syntax to allow references to labels
> instead of just full device paths.  This allows nodes deep within the
> tree to be referenced with a shorter more convenient name.  References
> to labels are distinguished from reference to paths by the fact that
> paths must start with a /, but labels can never start with a /.
>
> Signed-off-by: David Gibson <dwg at au1.ibm.com>

Mind adding an example of this to the testsuite?

- k



More information about the Linuxppc-dev mailing list