diff options
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | 2018-09-27 13:38:34 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-10-06 16:04:18 +0300 |
commit | 6c6add602970ee6b542b38ad6daf4f8e1e9f39d4 (patch) | |
tree | e3c90f9e737b67d27fe94a27e64a002494c2b9aa /include/configs/p1_twr.h | |
parent | c906f372b2ec55222b841b2affb50fd72d985086 (diff) | |
download | u-boot-6c6add602970ee6b542b38ad6daf4f8e1e9f39d4.tar.xz |
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>
Diffstat (limited to 'include/configs/p1_twr.h')
-rw-r--r-- | include/configs/p1_twr.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/p1_twr.h b/include/configs/p1_twr.h index 5a6c9e0d14..5c32952cfb 100644 --- a/include/configs/p1_twr.h +++ b/include/configs/p1_twr.h @@ -20,7 +20,6 @@ #ifdef CONFIG_SDCARD #define CONFIG_RAMBOOT_SDCARD #define CONFIG_SYS_RAMBOOT -#define CONFIG_SYS_EXTRA_ENV_RELOC #define CONFIG_RESET_VECTOR_ADDRESS 0x110bfffc #endif |