[U-Boot] [PATCH 2/5] x86: Forward declate gd_t

Simon Glass
2012-11-28T01:28:16Z

Hi,

On Sun, Apr 29, 2012 at 7:23 PM, Marek Vasut <marex@denx.de> wrote:
> Dear Graeme Russ,
>
>> So it can be used as a type in struct global_data and remove an ugly
>> typecast
>>
>> Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
>> ---
>> arch/x86/cpu/cpu.c | 2 +-
>> arch/x86/include/asm/global_data.h | 4 +++-
>> 2 files changed, 4 insertions(+), 2 deletions(-)

I had to modify this slightly to get it to build (added the same cast
fix to sdram.c as you did to cpu.c). Then, applied to x86/next.

Regards,
Simon