From 7672d9d582abfc380b8160c294b5de5bf97286be Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Mon, 4 Sep 2017 21:08:02 -0500 Subject: include/configs: remove references to SMNAND_ENV_OFFSET In mancy cases both CONFIG_ENV_OFFSET and CONFIG_ENV_ADDR point to an otherwise-unused SMNAND_ENV_OFFSET. This patch will set both CONFIG_ENV_OFFSET and CONFIG_ENV_ADDR to whatever value was defined by SMNAND_ENV_OFFSET. Signed-off-by: Adam Ford --- include/configs/cm_t35.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/configs/cm_t35.h') diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h index d30b783a4c..30e20b8659 100644 --- a/include/configs/cm_t35.h +++ b/include/configs/cm_t35.h @@ -207,9 +207,8 @@ #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE #define CONFIG_SYS_MONITOR_LEN (256 << 10) /* Reserve 2 sectors */ -#define SMNAND_ENV_OFFSET 0x260000 /* environment starts here */ -#define CONFIG_ENV_OFFSET SMNAND_ENV_OFFSET -#define CONFIG_ENV_ADDR SMNAND_ENV_OFFSET +#define CONFIG_ENV_OFFSET 0x260000 +#define CONFIG_ENV_ADDR 0x260000 #if defined(CONFIG_CMD_NET) #define CONFIG_SMC911X -- cgit v1.2.3