mirror of
https://github.com/dgibson/dtc.git
synced 2026-04-12 00:47:46 -04:00
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>
This commit is contained in:
parent
497432fd21
commit
737b2df39c
3 changed files with 40 additions and 3 deletions
1
dtc.h
1
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue