[U-Boot] [PATCH v2 01/12] x86: Allow compiling out realmode/bios code

Graeme Russ graeme.russ at gmail.com
Fri Nov 30 03:26:11 CET 2012


Hi Simon,

On Fri, Nov 30, 2012 at 1:25 PM, Simon Glass <sjg at chromium.org> wrote:
> Hi Graham,
>
> On Thu, Nov 29, 2012 at 6:19 PM, Graeme Russ <graeme.russ at gmail.com> wrote:
>> Hi Simon,
>>
>> On Fri, Nov 30, 2012 at 1:17 PM, Simon Glass <sjg at chromium.org> wrote:
>>> 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.
>>
>> Not strange - completely broken. Maybe add a #error if
>> CONFIG_X86_NO_REAL_MODE is defined and CONFIG_ZBOOT_32 is not?
>
> OK, I might need to put that in a new patch. Or do you think it is ok
> to stick it in here? I just sent a new version.

I don't think it really matters - that code will go soon anyway

Regards,

Graeme


More information about the U-Boot mailing list