mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-06 21:24:29 +00:00
fed0f891c6
Currently when creating an U_BOOT_DEVICE entry a struct driver_info is declared, which contains the data needed to instantiate the device. However, the actual device is created at runtime and there is no proper way to get the device based on its struct driver_info. This patch extends struct driver_info adding a pointer to udevice which is populated during the bind process, allowing to generate a set of functions to get the device based on its struct driver_info. Signed-off-by: Walter Lozano <walter.lozano@collabora.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
acpi.c | ||
device-remove.c | ||
device.c | ||
devres.c | ||
dump.c | ||
fdtaddr.c | ||
Kconfig | ||
lists.c | ||
Makefile | ||
of_access.c | ||
of_addr.c | ||
of_extra.c | ||
ofnode.c | ||
read.c | ||
read_extra.c | ||
regmap.c | ||
root.c | ||
simple-bus.c | ||
simple-pm-bus.c | ||
syscon-uclass.c | ||
uclass.c | ||
util.c |