No description
7e089d9473
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). |
||
---|---|---|
Documentation | ||
libfdt | ||
scripts | ||
tests | ||
.gitignore | ||
checks.c | ||
comment-test.dts | ||
data.c | ||
dtc-lexer.l | ||
dtc-parser.y | ||
dtc.c | ||
dtc.h | ||
flattree.c | ||
fstree.c | ||
ftdump.c | ||
GPL | ||
livetree.c | ||
Makefile | ||
Makefile.dtc | ||
srcpos.c | ||
srcpos.h | ||
TODO | ||
treesource.c |