diff options
author | Rob Herring <robh@kernel.org> | 2018-05-08 13:07:49 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2018-05-14 19:45:01 -0500 |
commit | 50aafd60898a8b3edf2f60e014a8288da3b2e5e3 (patch) | |
tree | 9bbb9713e3cc6e0c2e3cea71943e9338b937e0b7 /scripts/dtc/dtc-lexer.l | |
parent | 9601000cd57e395b56642596903f59d61d91e176 (diff) | |
download | linux-50aafd60898a8b3edf2f60e014a8288da3b2e5e3.tar.gz linux-50aafd60898a8b3edf2f60e014a8288da3b2e5e3.tar.bz2 linux-50aafd60898a8b3edf2f60e014a8288da3b2e5e3.zip |
scripts/dtc: Update to upstream version v1.4.6-21-g84e414b0b5bc
This adds the following commits from upstream:
84e414b0b5bc tests: Add a test case for the omit-if-no-ref keyword
4038fd90056e dtc: add ability to make nodes conditional on them being referenced
e1f139ea4900 checks: drop warning for missing PCI bridge bus-range
f4eba68d89ee checks: Print duplicate node name instead of parent name
46df1fb1b211 .travis.yml: Run valgrind checks via Travis
14a3002a1aee tests: Update valgrind suppressions for sw_tree1
02c5fe9debc0 tests: Remove valgrind error from tests/get_path
df536831d02c checks: add graph binding checks
2347c96edcbe checks: add a check for duplicate unit-addresses of child nodes
8f1b35f88395 Correct overlay syntactic sugar for generating target-path fragments
afbddcd418fb Suppress warnings on overlay fragments
119e27300359 Improve tests for dtc overlay generation
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'scripts/dtc/dtc-lexer.l')
-rw-r--r-- | scripts/dtc/dtc-lexer.l | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l index fd825ebba69c..615b7ec6588f 100644 --- a/scripts/dtc/dtc-lexer.l +++ b/scripts/dtc/dtc-lexer.l @@ -153,6 +153,13 @@ static void PRINTF(1, 2) lexical_error(const char *fmt, ...); return DT_DEL_NODE; } +<*>"/omit-if-no-ref/" { + DPRINT("Keyword: /omit-if-no-ref/\n"); + DPRINT("<PROPNODENAME>\n"); + BEGIN(PROPNODENAME); + return DT_OMIT_NO_REF; + } + <*>{LABEL}: { DPRINT("Label: %s\n", yytext); yylval.labelref = xstrdup(yytext); |