[U-Boot] [PATCH v2 01/12] x86: Allow compiling out realmode/bios code
Simon Glass
sjg at chromium.org
Fri Nov 30 03:17:03 CET 2012
Hi Graeme,
On Thu, Nov 29, 2012 at 6:09 PM, Graeme Russ <graeme.russ at gmail.com> wrote:
> Hi Simon,
>
[snip]
>> }
>
>
> Hmm, what to do about boot_zimage() in arch/x86/lib/zimage.c. If you
> define CONFIG_X86_NO_REAL_MODE but don't define CONFIG_ZBOOT_32 you
> will get a linker failure. Maybe change:
>
> #if defined CONFIG_ZBOOT_32 to
>
> #if (defined CONFIG_ZBOOT_32 or defined CONFIG_X86_NO_REAL_MODE)
Funny I just had that and took it out. My thought was that it would be
a strange board that didn't define both. I will add that code back in.
>
> Don't forget the end goal is to surgically remove all 16-bit support
> (apart from the reset vector for non-coreboot boards)
>
> Regards,
>
> Graeme
Regards,
Simon
More information about the U-Boot
mailing list