diff options
author | Rob Herring <robh@kernel.org> | 2019-05-17 15:28:04 -0500 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-06-12 16:01:16 +1000 |
commit | 87963ee2069337d0a2fb54ae7bcd003ecfd53eeb (patch) | |
tree | 16b724cbaa563b8495ce4615898cb559f52dcf61 /dtc.h | |
parent | 825146d13dc0430e72c1c65b61cb1aa35e559fca (diff) | |
download | device-tree-compiler-87963ee2069337d0a2fb54ae7bcd003ecfd53eeb.tar.gz |
livetree: add missing type markers in generated overlay properties
The YAML output fails for overlays and when symbol generation are enabled
due to missing markers in the generated properties.
Add type markers when generating properties under '__symbols__' and
'__fixups__' nodes as well as target-path properties. As a side effect of
append_to_property() changes, this also sets type markers in
'__local_fixups__' node properties.
Signed-off-by: Rob Herring <robh@kernel.org>
Message-Id: <20190517202804.9084-1-robh@kernel.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc.h')
-rw-r--r-- | dtc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -231,7 +231,8 @@ void add_child(struct node *parent, struct node *child); void delete_node_by_name(struct node *parent, char *name); void delete_node(struct node *node); void append_to_property(struct node *node, - char *name, const void *data, int len); + char *name, const void *data, int len, + enum markertype type); const char *get_unitname(struct node *node); struct property *get_property(struct node *node, const char *propname); |