Re: [U-Boot] [PATCH v4 09/15] dm: Cast away the const-ness of the global_data pointer

2014-06-20 Thread Marek Vasut
On Friday, June 20, 2014 at 10:34:20 PM, Simon Glass wrote: > Hi Marek, > > On 19 June 2014 22:12, Marek Vasut wrote: > >> Otherwise I'd like to do a dm pull request soon to get these fixes > >> into the release. > > > > Ah, please get the PR out. We can tweak this later I'm sure. Apologies > >

Re: [U-Boot] [PATCH v4 09/15] dm: Cast away the const-ness of the global_data pointer

2014-06-20 Thread Simon Glass
Hi Marek, On 19 June 2014 22:12, Marek Vasut wrote: >> Otherwise I'd like to do a dm pull request soon to get these fixes >> into the release. > > Ah, please get the PR out. We can tweak this later I'm sure. Apologies for > holding you and the PR. It's OK it is has only been a week and I wonder

Re: [U-Boot] [PATCH v4 09/15] dm: Cast away the const-ness of the global_data pointer

2014-06-19 Thread Marek Vasut
On Friday, June 20, 2014 at 06:07:02 AM, Simon Glass wrote: > Hi Marek, > > On 17 June 2014 23:36, Simon Glass wrote: > > Hi Marek, > > > > On 17 June 2014 16:42, Marek Vasut wrote: > >> On Thursday, June 12, 2014 at 05:26:50 AM, Simon Glass wrote: > >>> Hi Marek, > >>> > >>> On 8 June 2014 01

Re: [U-Boot] [PATCH v4 09/15] dm: Cast away the const-ness of the global_data pointer

2014-06-19 Thread Simon Glass
Hi Marek, On 17 June 2014 23:36, Simon Glass wrote: > Hi Marek, > > On 17 June 2014 16:42, Marek Vasut wrote: >> On Thursday, June 12, 2014 at 05:26:50 AM, Simon Glass wrote: >>> Hi Marek, >>> >>> On 8 June 2014 01:00, Marek Vasut wrote: >>> > On Friday, June 06, 2014 at 09:13:26 PM, Simon Glas

Re: [U-Boot] [PATCH v4 09/15] dm: Cast away the const-ness of the global_data pointer

2014-06-17 Thread Simon Glass
Hi Marek, On 17 June 2014 16:42, Marek Vasut wrote: > On Thursday, June 12, 2014 at 05:26:50 AM, Simon Glass wrote: >> Hi Marek, >> >> On 8 June 2014 01:00, Marek Vasut wrote: >> > On Friday, June 06, 2014 at 09:13:26 PM, Simon Glass wrote: >> >> In a very few cases we need to adjust the driver

Re: [U-Boot] [PATCH v4 09/15] dm: Cast away the const-ness of the global_data pointer

2014-06-17 Thread Marek Vasut
On Thursday, June 12, 2014 at 05:26:50 AM, Simon Glass wrote: > Hi Marek, > > On 8 June 2014 01:00, Marek Vasut wrote: > > On Friday, June 06, 2014 at 09:13:26 PM, Simon Glass wrote: > >> In a very few cases we need to adjust the driver model root device, such > >> as when setting it up at initia

Re: [U-Boot] [PATCH v4 09/15] dm: Cast away the const-ness of the global_data pointer

2014-06-11 Thread Simon Glass
Hi Marek, On 11 June 2014 23:26, Simon Glass wrote: > Hi Marek, > > > On 8 June 2014 01:00, Marek Vasut wrote: >> On Friday, June 06, 2014 at 09:13:26 PM, Simon Glass wrote: >>> In a very few cases we need to adjust the driver model root device, such as >>> when setting it up at initialisation.

Re: [U-Boot] [PATCH v4 09/15] dm: Cast away the const-ness of the global_data pointer

2014-06-11 Thread Simon Glass
Hi Marek, On 8 June 2014 01:00, Marek Vasut wrote: > On Friday, June 06, 2014 at 09:13:26 PM, Simon Glass wrote: >> In a very few cases we need to adjust the driver model root device, such as >> when setting it up at initialisation. Add a macro to make this easier. >> >> Signed-off-by: Simon Gla

Re: [U-Boot] [PATCH v4 09/15] dm: Cast away the const-ness of the global_data pointer

2014-06-07 Thread Marek Vasut
On Friday, June 06, 2014 at 09:13:26 PM, Simon Glass wrote: > In a very few cases we need to adjust the driver model root device, such as > when setting it up at initialisation. Add a macro to make this easier. > > Signed-off-by: Simon Glass > --- [...] > - ret = device_bind_by_name(NULL,

[U-Boot] [PATCH v4 09/15] dm: Cast away the const-ness of the global_data pointer

2014-06-06 Thread Simon Glass
In a very few cases we need to adjust the driver model root device, such as when setting it up at initialisation. Add a macro to make this easier. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: - Fix typo in commit subject Changes in v2: - Add new patch to deal with const-nes