diff options
author | Ye Li <ye.li@nxp.com> | 2016-05-05 17:02:23 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-04-05 14:04:43 +0800 |
commit | 2906317e68d2f5a9ff75b43c1b54c768098fa7f2 (patch) | |
tree | b8b3a364c5cb70a84bfc665177a5184fbfac9673 /include/configs/mx6sabre_common.h | |
parent | f8b95c085f80e4179d23188e505c67d555ada973 (diff) | |
download | u-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/mx6sabre_common.h')
-rw-r--r-- | include/configs/mx6sabre_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h index 8b49106..38cdc34 100644 --- a/include/configs/mx6sabre_common.h +++ b/include/configs/mx6sabre_common.h @@ -339,7 +339,7 @@ #define CONFIG_ENV_OFFSET (4 * CONFIG_SYS_FLASH_SECT_SIZE) #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 #elif defined(CONFIG_ENV_IS_IN_SATA) |