[U-Boot] [PATCH] mx7dsabresd: Increase CONFIG_ENV_OFFSET
Fabio Estevam
festevam at gmail.com
Sun May 28 17:07:24 UTC 2017
From: Fabio Estevam <fabio.estevam at nxp.com>
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 at nxp.com>
---
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 39291a2..fe9fd66 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
--
2.7.4
More information about the U-Boot
mailing list