Skip to content

Commit

Permalink
parser: add TYPE_STRING marker to path references
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
robherring authored and dgibson committed Aug 1, 2018
1 parent 90a190e commit ac68ff9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dtc-parser.y
Expand Up @@ -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 ')'
Expand Down

0 comments on commit ac68ff9

Please sign in to comment.