Re: [U-Boot] [PATCH RFT 1/2] TI ARMv7: Don't use GD before crt0.S has set it

2014-12-21 Thread Simon Glass
Hi Tom, On 19 December 2014 at 14:53, Tom Rini tr...@ti.com wrote: Prior to this change we set the gd pointer early so that we can store data in it. This becomes problematic for DM changes as well as being odd in general. Re-work the code paths so that we don't need to set the gd pointer so

[U-Boot] [PATCH RFT 1/2] TI ARMv7: Don't use GD before crt0.S has set it

2014-12-19 Thread Tom Rini
Prior to this change we set the gd pointer early so that we can store data in it. This becomes problematic for DM changes as well as being odd in general. Re-work the code paths so that we don't need to set the gd pointer so early and instead can rely upon the normal setting of it. In order to