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

Simon Glass sjg at chromium.org
Wed Nov 28 02:28:16 CET 2012


Hi,

On Sun, Apr 29, 2012 at 7:23 PM, Marek Vasut <marex at 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 at 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


More information about the U-Boot mailing list