diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2014-06-02 15:23:40 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2014-06-02 15:23:40 +1000 |
commit | 17dab7023959256224e800dd77cae57d8ecfaec0 (patch) | |
tree | d373a8b987116f592b5dcc231a40676a83b3c7a0 /tests/test_tree1_delete.dts | |
parent | 40f7f576c8e7df395ed25f0f3df61fac85f1adf9 (diff) | |
download | device-tree-compiler-multi-v1-tags.tar.gz |
Alter grammar to allow multiple /dts-v1/ tagsmulti-v1-tags
This patch allows dtc to accept multiple /dts-v1/ tags (provided they're
all at the beginning of the input), rather than giving a syntax error.
This makes it more convenient to include one .dts file from another without
having to be careful that the /dts-v1/ tag is in exactly one of them.
We a couple of existing testcases to take advantage of this, which
simplifies them slightly.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/test_tree1_delete.dts')
-rw-r--r-- | tests/test_tree1_delete.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_tree1_delete.dts b/tests/test_tree1_delete.dts index a2f1bfd..b95ef1e 100644 --- a/tests/test_tree1_delete.dts +++ b/tests/test_tree1_delete.dts @@ -1,6 +1,6 @@ /dts-v1/; -/include/ "test_tree1_body.dtsi" +/include/ "test_tree1.dts" / { nonexistant-property = <0xdeadbeef>; |