No description
Find a file
David Gibson 7e089d9473 dtc: Convert #address-cells and #size-cells related checks
This patch converts checks related to #address-cells and #size-cells
to the new framework.  Specifically, it reimplements the check that
"reg" properties have a valid size based on the relevant
#address-cells and #size-cells values.  The new implementation uses
the correct default value, unlike the old-style check which assumed
the values were inherited by default.

It also implements a new, similar test for "ranges" properties.

Finally, since relying on the default values of these variables is
considered not-good-practice these days, it implements a "style" check
which will give a warning if the tree ever relies on the default
values (that is if any node with either "reg" or "ranges" appears
under a parent which has no #address-cells or #size-cells property).
2007-12-07 07:43:45 -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 #address-cells and #size-cells related checks 2007-12-07 07:43:45 -06:00
.gitignore Merge libfdt into dtc. 2007-06-14 15:05:55 +10:00
checks.c dtc: Convert #address-cells and #size-cells related checks 2007-12-07 07:43:45 -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: Implement path references 2007-12-05 08:28:44 -06:00
dtc-lexer.l dtc: Trivial lexer cleanups 2007-12-05 08:27:37 -06:00
dtc-parser.y dtc: Implement path references 2007-12-05 08:28:44 -06:00
dtc.c dtc: Add many const qualifications 2007-12-04 07:54:03 -06:00
dtc.h dtc: Implement path references 2007-12-05 08:28:44 -06:00
flattree.c Fix padding options 2007-12-05 08:27:54 -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
GPL dtc: Remove redundant copy of the GPL 2007-06-25 21:43:11 -05:00
livetree.c dtc: Add many const qualifications 2007-12-04 07:54:03 -06:00
Makefile dtc: Remove space from flex command line 2007-12-06 09:14:12 -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: Add many const qualifications 2007-12-04 07:54:03 -06:00