MLK-17254: imx8qxp: configs: change the NAND ENV offset to avoid overlap
authorHan Xu <han.xu@nxp.com>
Wed, 20 Dec 2017 18:29:38 +0000 (12:29 -0600)
committerHan Xu <han.xu@nxp.com>
Thu, 21 Dec 2017 02:25:42 +0000 (20:25 -0600)
There is the 8M block sized NAND chip on QXP board, the previous 64MB
u-boot environment offset overlapped with the boot image location.
Changed the offset from 64MB to 120MB to avoid the overlap.

Signed-off-by: Han Xu <han.xu@nxp.com>
include/configs/imx8qxp_arm2.h

index 5c2ee99..4b262b3 100644 (file)
 
 #ifdef CONFIG_NAND_BOOT
 #define CONFIG_ENV_IS_IN_NAND
-#define CONFIG_ENV_OFFSET       (64 << 20)
+#define CONFIG_ENV_OFFSET       (120 << 20)
 #elif defined(CONFIG_QSPI_BOOT)
 #define CONFIG_ENV_IS_IN_SPI_FLASH
 #define CONFIG_ENV_OFFSET       (4 * 1024 * 1024)