summaryrefslogtreecommitdiff
path: root/dtc.h
diff options
context:
space:
mode:
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>2017-06-14 17:53:05 +0300
committerDavid Gibson <david@gibson.dropbear.id.au>2017-09-28 15:44:22 +1000
commit737b2df39cc8c5667e66b006618293d13905cf78 (patch)
treee67e8310535c09cd1c25871ea1a5e33c7374ae1e /dtc.h
parent497432fd2131967f349e69dc5d259072151cc4b4 (diff)
downloaddevice-tree-compiler-737b2df39cc8c5667e66b006618293d13905cf78.tar.gz
overlay: Add syntactic sugar version of overlays
For simple overlays that use a single target there exists a simpler syntax version. &foo { }; generates an overlay with a single target at foo. Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc.h')
-rw-r--r--dtc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dtc.h b/dtc.h
index 3c0532a..35cf926 100644
--- a/dtc.h
+++ b/dtc.h
@@ -203,6 +203,7 @@ struct node *build_node_delete(void);
struct node *name_node(struct node *node, char *name);
struct node *chain_node(struct node *first, struct node *list);
struct node *merge_nodes(struct node *old_node, struct node *new_node);
+void add_orphan_node(struct node *old_node, struct node *new_node, char *ref);
void add_property(struct node *node, struct property *prop);
void delete_property_by_name(struct node *node, char *name);