[U-Boot] [PATCH] autoboot.c: Fill env vars in process_fdt_options() only if TEXT_BASE is set

Bin Meng bmeng.cn at gmail.com
Fri Jan 29 09:43:50 CET 2016


On Fri, Jan 29, 2016 at 8:18 AM, Simon Glass <sjg at chromium.org> wrote:
> On 28 January 2016 at 09:34, Stefan Roese <sr at denx.de> wrote:
>>
>> The x86 build target "efi-x86" has no TEXT_BASE configured. And with the
>> introduction of CONFIG_BOOTDELAY for x86, this function is now called
>> for this board as well. Resulting in compile errors for this target.
>>
>> Without TEXT_BASE it makes no sense to fill these values. So lets only
>> configure the env variable if TEXT_BASE is defined.
>>
>> Signed-off-by: Stefan Roese <sr at denx.de>
>> Cc: Simon Glass <sjg at chromium.org>
>> Cc: Bin Meng <bmeng.cn at gmail.com>
>> Cc: Tom Rini <trini at konsulko.com>
>> ---
>>  common/autoboot.c | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>
>
> Reviewed-by: Simon Glass <sjg at chromium.org>

applied to u-boot-x86/master, thanks!


More information about the U-Boot mailing list