diff options
author | Stefan Roese <sr@denx.de> | 2016-01-28 17:34:40 +0100 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2016-02-05 12:47:20 +0800 |
commit | 9f73690cebfd57ff713098da8604738dbaa688ce (patch) | |
tree | ece1a304bb61d44062de694058cf548688c805ac /common/malloc_simple.c | |
parent | 94985cc9d3d7ed991ca8b2627d5894df5ea68f49 (diff) | |
download | u-boot-9f73690cebfd57ff713098da8604738dbaa688ce.tar.gz u-boot-9f73690cebfd57ff713098da8604738dbaa688ce.tar.bz2 u-boot-9f73690cebfd57ff713098da8604738dbaa688ce.zip |
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>
Diffstat (limited to 'common/malloc_simple.c')
0 files changed, 0 insertions, 0 deletions