Mirror of DTC
Find a file
David Gibson dc941774e2 dtc: Merge refs and labels into single "markers" list (v2)
Currently, every 'data' object, used to represent property values, has
two lists of fixup structures - one for labels and one for references.
Sometimes we want to look at them separately, but other times we need
to consider both types of fixup.

I'm planning to implement string references, where a full path rather
than a phandle is substituted into a property value.  Adding yet
another list of fixups for that would start to get silly.  So, this
patch merges the "refs" and "labels" lists into a single list of
"markers", each of which has a type field indicating if it represents
a label or a phandle reference.  String references or any other new
type of in-data marker will then just need a new type value - merging
data blocks and other common manipulations will just work.

While I was at it I made some cleanups to the handling of fixups which
simplify things further.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2007-11-26 16:00:19 -06:00
Documentation dtc: Whitespace cleanup 2007-09-18 09:43:26 -05:00
libfdt dtc: Add valgrind support to testsuite 2007-11-26 15:57:58 -06:00
scripts Add DTC release version information. 2007-07-07 13:52:25 -05:00
tests dtc: Flexible tree checking infrastructure (v2) 2007-11-26 16:00:08 -06:00
.gitignore Merge libfdt into dtc. 2007-06-14 15:05:55 +10:00
checks.c dtc: Merge refs and labels into single "markers" list (v2) 2007-11-26 16:00:19 -06: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
data.c dtc: Merge refs and labels into single "markers" list (v2) 2007-11-26 16:00:19 -06:00
dtc-lexer.l dtc: Switch dtc to C-style literals 2007-11-08 11:14:07 -06:00
dtc-parser.y dtc: Merge refs and labels into single "markers" list (v2) 2007-11-26 16:00:19 -06:00
dtc.c dtc: Flexible tree checking infrastructure (v2) 2007-11-26 16:00:08 -06:00
dtc.h dtc: Merge refs and labels into single "markers" list (v2) 2007-11-26 16:00:19 -06:00
flattree.c dtc: Merge refs and labels into single "markers" list (v2) 2007-11-26 16:00:19 -06:00
fstree.c dtc: Whitespace cleanup 2007-09-18 09:43:26 -05:00
ftdump.c dtc: Use libfdt/fdt.h instead of flat_dt.h 2007-09-27 08:21:18 -05:00
GPL dtc: Remove redundant copy of the GPL 2007-06-25 21:43:11 -05:00
livetree.c dtc: Flexible tree checking infrastructure (v2) 2007-11-26 16:00:08 -06:00
Makefile dtc: Add missing dependencies for tests 2007-11-13 07:33:01 -06:00
Makefile.dtc dtc: Move tree checking code to checks.c 2007-11-01 08:03:37 -05:00
srcpos.c DTC: Add support for a C-like #include "file" mechanism. 2007-03-26 08:36:07 -05:00
srcpos.h dtc: move declaration of yyerror 2007-07-07 10:07:27 -05:00
TODO Update TODO 2005-10-19 16:29:52 +10:00
treesource.c dtc: Merge refs and labels into single "markers" list (v2) 2007-11-26 16:00:19 -06:00