]> git.ipfire.org Git - people/ms/u-boot.git/commit
autoboot.c: Fill env vars in process_fdt_options() only if TEXT_BASE is set
authorStefan Roese <sr@denx.de>
Thu, 28 Jan 2016 16:34:40 +0000 (17:34 +0100)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 5 Feb 2016 04:47:20 +0000 (12:47 +0800)
commit9f73690cebfd57ff713098da8604738dbaa688ce
treeece1a304bb61d44062de694058cf548688c805ac
parent94985cc9d3d7ed991ca8b2627d5894df5ea68f49
autoboot.c: Fill env vars in process_fdt_options() only if TEXT_BASE is set

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@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/autoboot.c