summaryrefslogtreecommitdiff
path: root/include/configs/mx6sxsabreauto.h
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2016-05-05 17:02:23 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 14:04:43 +0800
commit2906317e68d2f5a9ff75b43c1b54c768098fa7f2 (patch)
treeb8b3a364c5cb70a84bfc665177a5184fbfac9673 /include/configs/mx6sxsabreauto.h
parentf8b95c085f80e4179d23188e505c67d555ada973 (diff)
downloadu-boot-imx-2906317e68d2f5a9ff75b43c1b54c768098fa7f2.zip
u-boot-imx-2906317e68d2f5a9ff75b43c1b54c768098fa7f2.tar.gz
u-boot-imx-2906317e68d2f5a9ff75b43c1b54c768098fa7f2.tar.bz2
MLK-12723 imx: Change the env offset on NAND to 60M
Current environment offset on NAND is 37MB, this will cause a alignment issue when erasing if nand erase block is 2MB. The saveenv is failed. => saveenv Saving Environment to NAND... Erasing NAND... Attempt to erase non block-aligned data Since the max erase block we supported is 4MB, adjust the env offset to 60MB, where is the last 4MB in 64MB reserved area for boot. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 22f6c4b151fbdea1985403086715de841152c880)
Diffstat (limited to 'include/configs/mx6sxsabreauto.h')
-rw-r--r--include/configs/mx6sxsabreauto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/mx6sxsabreauto.h b/include/configs/mx6sxsabreauto.h
index e30d2a4..5272ad6 100644
--- a/include/configs/mx6sxsabreauto.h
+++ b/include/configs/mx6sxsabreauto.h
@@ -269,7 +269,7 @@
#define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED
#elif defined(CONFIG_ENV_IS_IN_NAND)
#undef CONFIG_ENV_SIZE
-#define CONFIG_ENV_OFFSET (37 << 20)
+#define CONFIG_ENV_OFFSET (60 << 20)
#define CONFIG_ENV_SECT_SIZE (128 << 10)
#define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE
#endif