]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
mx7dsabresd: Increase CONFIG_ENV_OFFSET
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 28 May 2017 17:07:24 +0000 (14:07 -0300)
committerStefano Babic <sbabic@denx.de>
Wed, 31 May 2017 08:04:59 +0000 (10:04 +0200)
After running 'saveenv' we can no longer boot.

Adjust CONFIG_ENV_OFFSET so that U-Boot binary and the environment
section do not overlap.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
include/configs/mx7dsabresd.h

index 39291a2ffd631a5351823720396bdb0af024e0d4..fe9fd661e8ff977f0e7991aad2547bb939c876e5 100644 (file)
 #define CONFIG_APBH_DMA_BURST8
 #endif
 
-#define CONFIG_ENV_OFFSET              (8 * SZ_64K)
+#define CONFIG_ENV_OFFSET              (12 * SZ_64K)
 #ifdef CONFIG_NAND_MXS
 #define CONFIG_SYS_FSL_USDHC_NUM       1
 #else