diff mbox series

[3/3] mx6ul_14x14_evk: Change environment offset to overlap with U-Boot

Message ID 20200609154638.488461-3-otavio@ossystems.com.br
State New
Headers show
Series [1/3] mx6ul_14x14_evk: Enable SPL USB and SDP support | expand

Commit Message

Otavio Salvador June 9, 2020, 3:46 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>
---

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

Comments

Fabio Estevam June 9, 2020, 4:08 p.m. UTC | #1
Hi Otavio,

Thanks for the fix.

Please change the Subject from:

mx6ul_14x14_evk: Change environment offset to overlap with U-Boot

to

mx6ul_14x14_evk: Change environment offset to avoid overlap with U-Boot

as we want to avoid the overlap :-)

On Tue, Jun 9, 2020 at 12:47 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>

With the Subject line fixed:

Reviewed-by: Fabio Estevam <festevam at gmail.com>
diff mbox series

Patch

diff --git a/configs/mx6ul_14x14_evk_defconfig b/configs/mx6ul_14x14_evk_defconfig
index a2cb3215d44..5086dac4569 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