diff options
author | Adam Ford <aford173@gmail.com> | 2017-09-04 21:08:02 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-13 09:24:26 -0400 |
commit | 7672d9d582abfc380b8160c294b5de5bf97286be (patch) | |
tree | 8875af5808d33ca19501c0e7d341e9ba3ff90011 /include/configs/cm_t3517.h | |
parent | bf1ddfc026f7e27414a303d6c2805e98dc18f4d3 (diff) | |
download | u-boot-7672d9d582abfc380b8160c294b5de5bf97286be.tar.gz |
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 <aford173@gmail.com>
Diffstat (limited to 'include/configs/cm_t3517.h')
-rw-r--r-- | include/configs/cm_t3517.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h index 282b7ae10c..c166bf7c62 100644 --- a/include/configs/cm_t3517.h +++ b/include/configs/cm_t3517.h @@ -209,9 +209,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_DRIVER_TI_EMAC |