diff options
| author | Simon Glass <[email protected]> | 2015-06-23 15:38:37 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2015-07-21 17:39:22 -0600 |
| commit | 2693047acdcdae20b066715d0da4937814347935 (patch) | |
| tree | 26da337c474cd8485f03b4088512fc832c0dd73a /scripts | |
| parent | 3039811e6584d55c6a330a7cf409f4dcea13ee31 (diff) | |
dm: core: Add a function to find any device from device tree
In some rare cases it is useful to be able to locate a device given a device
tree node offset. An example is when you have an alias that points to a node
and you want to find the associated device. The device may be SPI, MMC or
something else, but you don't need to know the uclass to find it.
Add a function to do a global search for a device, given its device tree
offset.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
