From da384fc67a30ff4685b679a822ef005a8f1aeaa7 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Sun, 28 May 2017 14:07:24 -0300 Subject: [PATCH] mx7dsabresd: Increase CONFIG_ENV_OFFSET 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 --- include/configs/mx7dsabresd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h index 39291a2ffd..fe9fd661e8 100644 --- a/include/configs/mx7dsabresd.h +++ b/include/configs/mx7dsabresd.h @@ -207,7 +207,7 @@ #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