[U-Boot] [PATCH v1] x86: make LOAD_FROM_32_BIT visible for platforms

Andy Shevchenko andy.shevchenko at gmail.com
Sun Jan 22 18:28:09 CET 2017


On Sat, Jan 21, 2017 at 10:07 PM, Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
> This option useful not only for development, but for the platforms where
> U-Boot is run from custom ROM bootloader. For example, Intel Edison is
> that board.
>
> Make this option visible that platforms can select it if needed.

> --- a/arch/x86/cpu/start.S
> +++ b/arch/x86/cpu/start.S
> @@ -22,9 +22,8 @@
>   * Define this to boot U-Boot from a 32-bit program which sets the GDT
>   * differently. This can be used to boot directly from any stage of coreboot,
>   * for example, bypassing the normal payload-loading feature.
> - * This is only useful for development.
>   */
> -#undef LOAD_FROM_32_BIT
> +#define LOAD_FROM_32_BIT CONFIG_X86_LOAD_FROM_32_BIT

Oops, given one more thought, it should be a bit more verbose

I will fix this later. Any other comments I need to address?

-- 
With Best Regards,
Andy Shevchenko


More information about the U-Boot mailing list