[U-Boot] [PATCHv1] board: ge: ppd: Fix environment variable location

From: Nandor Han nandor.han@ge.com
This fixes environment variable location to avoid overlapping with U-Boot itself. Also more space for environment variables has been reserved to prevent future issues.
Signed-off-by: Nandor Han nandor.han@ge.com Signed-off-by: Sebastian Reichel sebastian.reichel@collabora.co.uk --- include/configs/mx53ppd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/mx53ppd.h b/include/configs/mx53ppd.h index d0848254d6a1..d20996afdd31 100644 --- a/include/configs/mx53ppd.h +++ b/include/configs/mx53ppd.h @@ -206,8 +206,8 @@ (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
/* FLASH and environment organization */ -#define CONFIG_ENV_OFFSET (6 * 64 * 1024) -#define CONFIG_ENV_SIZE (8 * 1024) +#define CONFIG_ENV_OFFSET (12 * 64 * 1024) +#define CONFIG_ENV_SIZE (10 * 1024) #define CONFIG_ENV_IS_IN_MMC #define CONFIG_SYS_MMC_ENV_DEV 0

On 15/02/2018 11:41, Sebastian Reichel wrote:
From: Nandor Han nandor.han@ge.com
This fixes environment variable location to avoid overlapping with U-Boot itself. Also more space for environment variables has been reserved to prevent future issues.
Signed-off-by: Nandor Han nandor.han@ge.com Signed-off-by: Sebastian Reichel sebastian.reichel@collabora.co.uk
include/configs/mx53ppd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/mx53ppd.h b/include/configs/mx53ppd.h index d0848254d6a1..d20996afdd31 100644 --- a/include/configs/mx53ppd.h +++ b/include/configs/mx53ppd.h @@ -206,8 +206,8 @@ (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
/* FLASH and environment organization */ -#define CONFIG_ENV_OFFSET (6 * 64 * 1024) -#define CONFIG_ENV_SIZE (8 * 1024) +#define CONFIG_ENV_OFFSET (12 * 64 * 1024) +#define CONFIG_ENV_SIZE (10 * 1024) #define CONFIG_ENV_IS_IN_MMC #define CONFIG_SYS_MMC_ENV_DEV 0
Applied to u-boot-imx, thanks !
Best regards, Stefano Babic
participants (2)
-
Sebastian Reichel
-
Stefano Babic