Re: [U-Boot] [PATCH v2 08/15] dm: mmc: sunxi: Pass private data around explicitly

2017-08-23 Thread Chen-Yu Tsai
On Tue, Aug 15, 2017 at 5:35 AM, Simon Glass wrote: > Hi Chen-Yu, > > On 8 August 2017 at 21:27, Chen-Yu Tsai wrote: >> Hi Simon, >> >> On Wed, Jul 5, 2017 at 3:31 AM, Simon Glass wrote: >>> At present the driver-private data is obtained in

Re: [U-Boot] [PATCH v2 08/15] dm: mmc: sunxi: Pass private data around explicitly

2017-08-14 Thread Simon Glass
Hi Chen-Yu, On 8 August 2017 at 21:27, Chen-Yu Tsai wrote: > Hi Simon, > > On Wed, Jul 5, 2017 at 3:31 AM, Simon Glass wrote: >> At present the driver-private data is obtained in various functions by >> various means. With driver model this is provided

Re: [U-Boot] [PATCH v2 08/15] dm: mmc: sunxi: Pass private data around explicitly

2017-08-08 Thread Chen-Yu Tsai
Hi Simon, On Wed, Jul 5, 2017 at 3:31 AM, Simon Glass wrote: > At present the driver-private data is obtained in various functions by > various means. With driver model this is provided automatically. Without > driver model it comes from a C array declared at the top of the

Re: [U-Boot] [PATCH v2 08/15] dm: mmc: sunxi: Pass private data around explicitly

2017-07-05 Thread Maxime Ripard
On Tue, Jul 04, 2017 at 01:31:25PM -0600, Simon Glass wrote: > At present the driver-private data is obtained in various functions by > various means. With driver model this is provided automatically. Without > driver model it comes from a C array declared at the top of the file. > > Adjust

[U-Boot] [PATCH v2 08/15] dm: mmc: sunxi: Pass private data around explicitly

2017-07-04 Thread Simon Glass
At present the driver-private data is obtained in various functions by various means. With driver model this is provided automatically. Without driver model it comes from a C array declared at the top of the file. Adjust internal functions so that they are passed the private data as a parameter,