aboutsummaryrefslogtreecommitdiff
path: root/dtc.h
diff options
context:
space:
mode:
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>2016-12-07 12:48:22 +0800
committerSzuWei Lin <szuweilin@google.com>2017-02-17 11:35:10 +0800
commitec2917363c948b0a7b0a5a831c4b6902ce897c8f (patch)
treed1711e3757cc71c3713c52b32eb7cc782736143d /dtc.h
parent8876e278cfa7180d7929b32ce35442dbdc99c039 (diff)
downloaddtc-ec2917363c948b0a7b0a5a831c4b6902ce897c8f.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> Downloaded from https://marc.info/?l=devicetree&m=148111493325866&w=4 Change-Id: I7bf2ff20133ee37888e8dc6031b5539b0d6168e7
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 c6f125c..092bef9 100644
--- a/dtc.h
+++ b/dtc.h
@@ -198,6 +198,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);