From 10c1f7b5b1512745c7e8a66bfa097411ccc28abe Mon Sep 17 00:00:00 2001 From: Han Xu Date: Wed, 20 Dec 2017 12:29:38 -0600 Subject: MLK-17254: imx8qxp: configs: change the NAND ENV offset to avoid overlap 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 (cherry picked from commit e08d69114cc77fa1b261a2870219a2ad48e389b8) --- include/configs/imx8qxp_arm2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/imx8qxp_arm2.h b/include/configs/imx8qxp_arm2.h index 5c2ee99b90..4b262b3bca 100644 --- a/include/configs/imx8qxp_arm2.h +++ b/include/configs/imx8qxp_arm2.h @@ -214,7 +214,7 @@ #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) -- cgit v1.2.3