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>2016-05-06 11:02:47 +0800
commit726d6b127c509eb7e12a96f99bbed512a2dd386d (patch)
tree78e0471ab4005243af3aa47253188d99adc0fbb7 /include/configs/mx6sxsabreauto.h
parent0fa2a52afc0328d42191bacaa8664618f323736b (diff)
downloadu-boot-imx-726d6b127c509eb7e12a96f99bbed512a2dd386d.zip
u-boot-imx-726d6b127c509eb7e12a96f99bbed512a2dd386d.tar.gz
u-boot-imx-726d6b127c509eb7e12a96f99bbed512a2dd386d.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 27e318ff148bdbeda0d8d80685dc5b4b159a3841)
Diffstat (limited to 'include/configs/mx6sxsabreauto.h')
-rw-r--r--include/configs/mx6sxsabreauto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/mx6sxsabreauto.h b/include/configs/mx6sxsabreauto.h
index 276c2fb..2032508 100644
--- a/include/configs/mx6sxsabreauto.h
+++ b/include/configs/mx6sxsabreauto.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2014-2015 Freescale Semiconductor, Inc.
+ * Copyright (C) 2014-2016 Freescale Semiconductor, Inc.
*
* Configuration settings for the Freescale i.MX6SX SABREAUTO board.
*
@@ -378,7 +378,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