Re: [U-Boot] [PATCH v3 12/26] dm: core: Allow uclasses to specify private data for a device's children

2015-01-26 Thread Simon Glass
On 25 January 2015 at 19:00, Masahiro Yamada wrote: > > On Sun, 25 Jan 2015 08:27:06 -0700 > Simon Glass wrote: > >> In many cases the per-child private data for a device's children is defined >> by the uclass rather than the individual driver. For example, a SPI bus >> needs to store information

Re: [U-Boot] [PATCH v3 12/26] dm: core: Allow uclasses to specify private data for a device's children

2015-01-25 Thread Masahiro Yamada
On Sun, 25 Jan 2015 08:27:06 -0700 Simon Glass wrote: > In many cases the per-child private data for a device's children is defined > by the uclass rather than the individual driver. For example, a SPI bus > needs to store information about each of its children, but all SPI drivers > store the s

[U-Boot] [PATCH v3 12/26] dm: core: Allow uclasses to specify private data for a device's children

2015-01-25 Thread Simon Glass
In many cases the per-child private data for a device's children is defined by the uclass rather than the individual driver. For example, a SPI bus needs to store information about each of its children, but all SPI drivers store the same information. It makes sense to allow the uclass to define thi