mx6ul_14x14_evk: Avoid overlap of environment over U-Boot proper
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 9 Jun 2020 16:22:50 +0000 (13:22 -0300)
committerStefano Babic <sbabic@denx.de>
Mon, 22 Jun 2020 22:08:53 +0000 (00:08 +0200)
We need to change the environment offset to avoid corrupting the U-Boot
binary when saving it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
configs/mx6ul_14x14_evk_defconfig

index cad766443c2248b9705f43ea95e4a6fc7838e221..4ec5f80ee69bb93b07d305cc48c0d911e3fa9bc8 100644 (file)
@@ -5,7 +5,7 @@ CONFIG_SPL_GPIO_SUPPORT=y
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_ENV_SIZE=0x2000
-CONFIG_ENV_OFFSET=0x80000
+CONFIG_ENV_OFFSET=0xC0000
 CONFIG_TARGET_MX6UL_14X14_EVK=y
 CONFIG_DM_GPIO=y
 CONFIG_SPL_MMC_SUPPORT=y