]> git.dujemihanovic.xyz Git - u-boot.git/commit
configs: drop CONFIG_SYS_EXTRA_ENV_RELOC
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Thu, 27 Sep 2018 10:38:34 +0000 (12:38 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 6 Oct 2018 13:04:18 +0000 (09:04 -0400)
commit6c6add602970ee6b542b38ad6daf4f8e1e9f39d4
treee3c90f9e737b67d27fe94a27e64a002494c2b9aa
parentc906f372b2ec55222b841b2affb50fd72d985086
configs: drop CONFIG_SYS_EXTRA_ENV_RELOC

Instead of manually specifying CONFIG_SYS_EXTRA_ENV_RELOC
for every board that needs it, it shouldn't hurt to let
initr_reloc_global_data() always relocate gd->env_addr
unless we know this pointer is outside the initial binary.

To achieve this, the relocation is omitted if
CONFIG_ENV_ADDR is defined (and ENV_IS_EMBEDDED is not).

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
23 files changed:
common/board_r.c
include/configs/B4860QDS.h
include/configs/BSC9131RDB.h
include/configs/BSC9132QDS.h
include/configs/C29XPCIE.h
include/configs/MPC8536DS.h
include/configs/P1010RDB.h
include/configs/P2041RDB.h
include/configs/T102xQDS.h
include/configs/T102xRDB.h
include/configs/T1040QDS.h
include/configs/T104xRDB.h
include/configs/T208xQDS.h
include/configs/T208xRDB.h
include/configs/T4240QDS.h
include/configs/T4240RDB.h
include/configs/UCP1020.h
include/configs/controlcenterd.h
include/configs/corenet_ds.h
include/configs/cyrus.h
include/configs/km/kmp204x-common.h
include/configs/p1_twr.h
scripts/config_whitelist.txt