diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-19 02:09:03 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-06-01 13:03:07 (GMT) |
commit | f11c7ab94d2db2cce3601cdbcb4f6208f2a0bee4 (patch) | |
tree | 01198fcfaadaf39ef8dd7fb7717ec45a21c6ab13 /doc/README.video | |
parent | b7e0d73bad051b666c6cbf9dff381f4c48dcb8a2 (diff) | |
download | u-boot-f11c7ab94d2db2cce3601cdbcb4f6208f2a0bee4.tar.xz |
dm: core: Add device-based 'read' functions to access DT
It is common to read a device-tree property from the node associated with
a device. Add convenience functions to do this so that drivers do not need
to deal with accessing the ofnode from the device.
These functions all start with 'dev_read_' to provide consistent naming
for all functions which read information from a device's device tree node.
These are inlined when using the flat DT to save code size. The live tree
implementation is added in a later commit.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/README.video')
0 files changed, 0 insertions, 0 deletions