Go to file
David Gibson 459c955cca dtc: Convert "name" property checking to new infrastructure
This patch removes the old-style checking code for the "name" property
- i.e. verifying that the "name" property, if present, matches the
node name.  It replaces it with a pair of more-or-less equivalent
checks in the new checking framework.

This also promotes this check to a "structural" check, or at least an
error-rather-than-warning test, since the structural/semantic
distinction doesn't really apply in the new framework.

A testcase for the check is also added.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2007-12-05 08:27:28 -06:00
Documentation dtc: Whitespace cleanup 2007-09-18 09:43:26 -05:00
libfdt Fix whitespace in libfdt/fdt.h 2007-11-28 09:44:27 -06:00
scripts Add DTC release version information. 2007-07-07 13:52:25 -05:00
tests dtc: Convert "name" property checking to new infrastructure 2007-12-05 08:27:28 -06:00
.gitignore Merge libfdt into dtc. 2007-06-14 15:05:55 +10:00
GPL dtc: Remove redundant copy of the GPL 2007-06-25 21:43:11 -05: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
TODO Update TODO 2005-10-19 16:29:52 +10:00
checks.c dtc: Convert "name" property checking to new infrastructure 2007-12-05 08:27:28 -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: Add many const qualifications 2007-12-04 07:54:03 -06:00
dtc-lexer.l dtc: Fix some lexical problems with references 2007-11-28 13:51:38 -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: Add many const qualifications 2007-12-04 07:54:03 -06:00
dtc.h dtc: Add many const qualifications 2007-12-04 07:54:03 -06:00
flattree.c dtc: Add many const qualifications 2007-12-04 07:54:03 -06:00
fstree.c dtc: Add many const qualifications 2007-12-04 07:54:03 -06:00
ftdump.c Print out the total size as part of ftdump 2007-12-05 08:27:00 -06:00
livetree.c dtc: Add many const qualifications 2007-12-04 07:54:03 -06: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
treesource.c dtc: Add many const qualifications 2007-12-04 07:54:03 -06:00