Re: [PATCH v4 08/14] core: extend struct driver_info to point to device

2020-07-05 Thread Simon Glass
On Wed, 24 Jun 2020 at 22:11, Walter Lozano wrote: > > 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 base

Re: [PATCH v4 08/14] core: extend struct driver_info to point to device

2020-06-25 Thread Simon Glass
On Wed, 24 Jun 2020 at 22:11, Walter Lozano wrote: > > 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 base

[PATCH v4 08/14] core: extend struct driver_info to point to device

2020-06-24 Thread Walter Lozano
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