From 6c6add602970ee6b542b38ad6daf4f8e1e9f39d4 Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Thu, 27 Sep 2018 12:38:34 +0200 Subject: 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 --- include/configs/km/kmp204x-common.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/configs/km') diff --git a/include/configs/km/kmp204x-common.h b/include/configs/km/kmp204x-common.h index 0592c9a699..08e08abb94 100644 --- a/include/configs/km/kmp204x-common.h +++ b/include/configs/km/kmp204x-common.h @@ -39,7 +39,6 @@ #define CONFIG_SYS_DPAA_RMAN /* RMan */ /* Environment in SPI Flash */ -#define CONFIG_SYS_EXTRA_ENV_RELOC #define CONFIG_ENV_SPI_BUS 0 #define CONFIG_ENV_SPI_CS 0 #define CONFIG_ENV_SPI_MAX_HZ 20000000 -- cgit v1.2.1