Mirror of DTC
Find a file
David Gibson c226ddcabc Allow references to labels
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@au1.ibm.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-02-08 17:27:12 -06:00
Documentation Add paper on the flattened tree and dtc presented at linux.conf.au 2006 by 2006-01-31 16:17:59 +11:00
tests Add missing file. 2005-07-04 13:51:09 +10:00
.gitignore Add a .gitignore file. 2005-10-21 17:28:42 +10:00
comment-test.dts Initial label support. Also switch to glr-parser mode and get rid of 2005-06-16 14:36:37 +10:00
COPYING Initial commit 2005-06-08 17:18:34 +10:00
data.c Allow multipart property values 2007-02-08 17:26:41 -06:00
dtc-lexer.l Allow multipart property values 2007-02-08 17:26:41 -06:00
dtc-parser.y Allow multipart property values 2007-02-08 17:26:41 -06:00
dtc.c Change default output blob version from 3 to 16 2006-11-01 08:15:18 -06:00
dtc.h Allow multipart property values 2007-02-08 17:26:41 -06:00
flat_dt.h Add ftdump utility, contributed by Pantelis Antoniou. 2005-08-29 14:58:27 +10:00
flattree.c dtc: fix endian issue when reading blobs 2006-07-07 09:30:44 -05:00
fstree.c Rework tracking of reserve entries during processing. This is initial work 2005-10-24 18:18:38 +10:00
ftdump.c Add ftdump utility, contributed by Pantelis Antoniou. 2005-08-29 14:58:27 +10:00
libdt.c Add copyright. Fix 80-column line. 2006-06-24 15:52:48 -05:00
livetree.c Allow references to labels 2007-02-08 17:27:12 -06:00
Makefile Add ftdump utility, contributed by Pantelis Antoniou. 2005-08-29 14:58:27 +10:00
test.dts Allow multipart property values 2007-02-08 17:26:41 -06:00
TODO Update TODO 2005-10-19 16:29:52 +10:00
treesource.c Use names for output functions in the form dt_to_*() instead of 2005-10-26 16:56:26 +10:00