summaryrefslogtreecommitdiff
path: root/tools/dtoc
diff options
context:
space:
mode:
authorWalter Lozano <walter.lozano@collabora.com>2020-06-25 01:10:11 -0300
committerSimon Glass <sjg@chromium.org>2020-07-09 22:00:29 -0600
commitfed0f891c6821d475710e1f7033253ec4723ee09 (patch)
tree4092eed255409590eac22d1e633f6fa616a1fc05 /tools/dtoc
parent908d0243ac0bdf2672ec584a52d178100fff3fb2 (diff)
core: extend struct driver_info to point to device
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>
Diffstat (limited to 'tools/dtoc')
0 files changed, 0 insertions, 0 deletions