summaryrefslogtreecommitdiff
path: root/include/configs/UCP1020.h
diff options
context:
space:
mode:
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>2018-09-27 12:38:34 +0200
committerTom Rini <trini@konsulko.com>2018-10-06 09:04:18 -0400
commit6c6add602970ee6b542b38ad6daf4f8e1e9f39d4 (patch)
treee3c90f9e737b67d27fe94a27e64a002494c2b9aa /include/configs/UCP1020.h
parentc906f372b2ec55222b841b2affb50fd72d985086 (diff)
downloadu-boot-6c6add602970ee6b542b38ad6daf4f8e1e9f39d4.tar.gz
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/UCP1020.h')
-rw-r--r--include/configs/UCP1020.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h
index 7bdc14e512..fca607cde8 100644
--- a/include/configs/UCP1020.h
+++ b/include/configs/UCP1020.h
@@ -77,14 +77,12 @@
#ifdef CONFIG_SDCARD
#define CONFIG_RAMBOOT_SDCARD
#define CONFIG_SYS_RAMBOOT
-#define CONFIG_SYS_EXTRA_ENV_RELOC
#define CONFIG_RESET_VECTOR_ADDRESS 0x1107fffc
#endif
#ifdef CONFIG_SPIFLASH
#define CONFIG_RAMBOOT_SPIFLASH
#define CONFIG_SYS_RAMBOOT
-#define CONFIG_SYS_EXTRA_ENV_RELOC
#define CONFIG_RESET_VECTOR_ADDRESS 0x1107fffc
#endif