2693047acd
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 <sjg@chromium.org> |
||
---|---|---|
.. | ||
device-remove.c | ||
device.c | ||
dump.c | ||
Kconfig | ||
lists.c | ||
Makefile | ||
root.c | ||
simple-bus.c | ||
uclass.c | ||
util.c |