summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHan Xu <han.xu@nxp.com>2017-12-20 12:29:38 -0600
committerHan Xu <han.xu@nxp.com>2017-12-20 20:28:24 -0600
commit10c1f7b5b1512745c7e8a66bfa097411ccc28abe (patch)
treed297d2b8d1811d9dc9e61a9bb829e34f760ac7e1
parent3718e26ce48c9546c1a39e35d0a092e4b4c1a7ee (diff)
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 <han.xu@nxp.com> (cherry picked from commit e08d69114cc77fa1b261a2870219a2ad48e389b8)
-rw-r--r--include/configs/imx8qxp_arm2.h2
1 files changed, 1 insertions, 1 deletions
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)