diff mbox series

[5/6] udoo: Increase CONFIG_ENV_OFFSET

Message ID 20211218211025.770362-5-festevam@gmail.com
State Accepted
Delegated to: Stefano Babic
Headers show
Series [1/6] udoo_spl: Initialize the eSDHC controller in SPL | expand

Commit Message

Fabio Estevam Dec. 18, 2021, 9:10 p.m. UTC
Increase CONFIG_ENV_OFFSET to avoid the environment region to
overlap with U-Boot proper. 

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 configs/udoo_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Robinson Dec. 21, 2021, 9:52 a.m. UTC | #1
On Sat, Dec 18, 2021 at 9:10 PM Fabio Estevam <festevam@gmail.com> wrote:
>
> Increase CONFIG_ENV_OFFSET to avoid the environment region to
> overlap with U-Boot proper.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
> ---
>  configs/udoo_defconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configs/udoo_defconfig b/configs/udoo_defconfig
> index 284ea0588465..ab2b2ee67550 100644
> --- a/configs/udoo_defconfig
> +++ b/configs/udoo_defconfig
> @@ -7,7 +7,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y
>  CONFIG_SPL_LIBGENERIC_SUPPORT=y
>  CONFIG_NR_DRAM_BANKS=1
>  CONFIG_ENV_SIZE=0x2000
> -CONFIG_ENV_OFFSET=0x60000
> +CONFIG_ENV_OFFSET=0xC0000
>  CONFIG_MX6QDL=y
>  CONFIG_TARGET_UDOO=y
>  CONFIG_DM_GPIO=y
> --
> 2.25.1
>
Tom Rini Jan. 9, 2022, 1:27 a.m. UTC | #2
On Sat, Dec 18, 2021 at 06:10:24PM -0300, Fabio Estevam wrote:

> Increase CONFIG_ENV_OFFSET to avoid the environment region to
> overlap with U-Boot proper. 
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> Reviewed-by: Peter Robinson <pbrobinson@gmail.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/configs/udoo_defconfig b/configs/udoo_defconfig
index 284ea0588465..ab2b2ee67550 100644
--- a/configs/udoo_defconfig
+++ b/configs/udoo_defconfig
@@ -7,7 +7,7 @@  CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_ENV_SIZE=0x2000
-CONFIG_ENV_OFFSET=0x60000
+CONFIG_ENV_OFFSET=0xC0000
 CONFIG_MX6QDL=y
 CONFIG_TARGET_UDOO=y
 CONFIG_DM_GPIO=y