Home
last modified time | relevance | path

Searched hist:f11c7ab94d2db2cce3601cdbcb4f6208f2a0bee4 (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/include/dm/
H A Dread.hf11c7ab94d2db2cce3601cdbcb4f6208f2a0bee4 Thu May 18 21:09:03 CDT 2017 Simon Glass <sjg@chromium.org> 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>
/openbmc/u-boot/drivers/core/
H A DKconfigdiff f11c7ab94d2db2cce3601cdbcb4f6208f2a0bee4 Thu May 18 21:09:03 CDT 2017 Simon Glass <sjg@chromium.org> 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>