Re: [RFC 2/6] core: extend struct driver_info to point to device

2020-05-22 Thread Simon Glass
Hi Walter, On Thu, 21 May 2020 at 07:15, Walter Lozano wrote: > > Hi Simon, > > On 20/5/20 00:07, Simon Glass wrote: > > Hi Walter, > > > > On Wed, 13 May 2020 at 14:14, Walter Lozano > > wrote: > >> Currently when creating an U_BOOT_DEVICE entry a struct driver_info > >> is declared, which con

Re: [RFC 2/6] core: extend struct driver_info to point to device

2020-05-21 Thread Walter Lozano
Hi Simon, On 20/5/20 00:07, Simon Glass wrote: Hi Walter, On Wed, 13 May 2020 at 14:14, 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 runt

Re: [RFC 2/6] core: extend struct driver_info to point to device

2020-05-19 Thread Simon Glass
Hi Walter, On Wed, 13 May 2020 at 14:14, 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