summaryrefslogtreecommitdiff
path: root/include/configs/tao3530.h
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2017-09-04 21:08:02 -0500
committerTom Rini <trini@konsulko.com>2017-09-13 09:24:26 -0400
commit7672d9d582abfc380b8160c294b5de5bf97286be (patch)
tree8875af5808d33ca19501c0e7d341e9ba3ff90011 /include/configs/tao3530.h
parentbf1ddfc026f7e27414a303d6c2805e98dc18f4d3 (diff)
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/tao3530.h')
-rw-r--r--include/configs/tao3530.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/tao3530.h b/include/configs/tao3530.h
index 11b909b7dd..7f4acbae34 100644
--- a/include/configs/tao3530.h
+++ b/include/configs/tao3530.h
@@ -192,10 +192,9 @@
#define CONFIG_SYS_ONENAND_BASE ONENAND_MAP
#define ONENAND_ENV_OFFSET 0x260000 /* environment starts here */
-#define SMNAND_ENV_OFFSET 0x260000 /* environment starts here */
#define CONFIG_SYS_ENV_SECT_SIZE (128 << 10)
-#define CONFIG_ENV_OFFSET SMNAND_ENV_OFFSET
+#define CONFIG_ENV_OFFSET 0x260000
#define CONFIG_ENV_ADDR CONFIG_ENV_OFFSET
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1