Re: [U-Boot] [PATCH v2 13/58] x86: Set up the global data pointer in C instead of asm

2012-12-14 Thread Graeme Russ
Hi Simon, On 14/12/12 17:48, Simon Glass wrote: We currently assume that the global data pointer is at the start of struct global_data. We want to remove this restriction, and it is easiest to do this in C. Remove the asm code and add equivalent code in C. This idea was proposed by

[U-Boot] [PATCH v2 13/58] x86: Set up the global data pointer in C instead of asm

2012-12-13 Thread Simon Glass
We currently assume that the global data pointer is at the start of struct global_data. We want to remove this restriction, and it is easiest to do this in C. Remove the asm code and add equivalent code in C. This idea was proposed by Graeme Russ here: