diff mbox series

[2/2] mx6ul_14x14_evk: Avoid overlap of environment over U-Boot proper

Message ID 20200609162250.490454-2-otavio@ossystems.com.br
State Accepted
Commit 9959d0f679671c6edf91ef2213a08c90531a5980
Headers show
Series [1/2] mx6ul_14x14_evk: Enable SPL USB and SDP support | expand

Commit Message

Otavio Salvador June 9, 2020, 4:22 p.m. UTC
We need to change the environment offset to avoid corrupting the U-Boot
binary when saving it.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---

Changes in v2:
- rework commit log

 configs/mx6ul_14x14_evk_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Fabio Estevam June 9, 2020, 4:25 p.m. UTC | #1
On Tue, Jun 9, 2020 at 1:23 PM Otavio Salvador <otavio at ossystems.com.br> wrote:
>
> We need to change the environment offset to avoid corrupting the U-Boot
> binary when saving it.
>
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>

Reviewed-by: Fabio Estevam <festevam at gmail.com>
Stefano Babic June 23, 2020, 7:51 a.m. UTC | #2
> We need to change the environment offset to avoid corrupting the U-Boot
> binary when saving it.
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> Reviewed-by: Fabio Estevam <festevam at gmail.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/configs/mx6ul_14x14_evk_defconfig b/configs/mx6ul_14x14_evk_defconfig
index cad766443c2..4ec5f80ee69 100644
--- a/configs/mx6ul_14x14_evk_defconfig
+++ b/configs/mx6ul_14x14_evk_defconfig
@@ -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