core: Add functions to set properties in live-tree
authorMario Six <mario.six@gdsys.cc>
Tue, 26 Jun 2018 06:46:48 +0000 (08:46 +0200)
committerSimon Glass <sjg@chromium.org>
Sat, 29 Sep 2018 17:49:35 +0000 (11:49 -0600)
commite369e58df79cf152c299b898e31c42f08167082a
tree2af525c5f28a69992f7249dd39b7bd7a20bda98f
parent163ed6c342cfd15b623a46f3755203c712374a9a
core: Add functions to set properties in live-tree

Implement a set of functions to manipulate properties in a live device
tree:

* ofnode_write_prop() to set generic properties of a node
* ofnode_write_string() to set string properties of a node
* ofnode_set_enabled() to either enable or disable a node

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/ofnode.c
include/dm/ofnode.h