summaryrefslogtreecommitdiff
path: root/dtc-parser.y
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-07-30 21:57:35 -0600
committerDavid Gibson <david@gibson.dropbear.id.au>2018-08-01 10:02:38 +1000
commitac68ff92ae20f7447f7af6c154a95f528df46851 (patch)
tree98f45333ce7dd1a7b690406b57764526fc0646aa /dtc-parser.y
parent90a190eb04d926655b643328ae995336568b705b (diff)
downloaddevice-tree-compiler-ac68ff92ae20f7447f7af6c154a95f528df46851.tar.gz
parser: add TYPE_STRING marker to path references
Path references are also a string, so add TYPE_STRING marker in addition to REF_PATH. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc-parser.y')
-rw-r--r--dtc-parser.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/dtc-parser.y b/dtc-parser.y
index 815481a..dd70ebf 100644
--- a/dtc-parser.y
+++ b/dtc-parser.y
@@ -287,6 +287,7 @@ propdata:
}
| propdataprefix DT_REF
{
+ $1 = data_add_marker($1, TYPE_STRING, $2);
$$ = data_add_marker($1, REF_PATH, $2);
}
| propdataprefix DT_INCBIN '(' DT_STRING ',' integer_prim ',' integer_prim ')'