diff mbox

[U-Boot,v2,1/2] imx: mx6q/dl sabre_common: Move MMC ENV offset to 512KB position

Message ID 1415772125-3798-1-git-send-email-B37916@freescale.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Ye.Li Nov. 12, 2014, 6:02 a.m. UTC
Set the CONFIG_ENV_OFFSET from 384KB to 512KB offset, so we will have larger space
for u-boot image.
When enabling NAND flash support feature, the u-boot image size has exceeded the
384KB, which causes overlay to the environment variables storage.

Signed-off-by: Ye.Li <B37916@freescale.com>
Acked-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v1:
- None

 include/configs/mx6sabre_common.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Stefano Babic Nov. 13, 2014, 3:33 p.m. UTC | #1
On 12/11/2014 07:02, Ye.Li wrote:
> Set the CONFIG_ENV_OFFSET from 384KB to 512KB offset, so we will have larger space
> for u-boot image.
> When enabling NAND flash support feature, the u-boot image size has exceeded the
> 384KB, which causes overlay to the environment variables storage.
> 
> Signed-off-by: Ye.Li <B37916@freescale.com>
> Acked-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> Changes since v1:
> - None
> 
>  include/configs/mx6sabre_common.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h
> index c81e9e9..1e10422 100644



Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h
index c81e9e9..1e10422 100644
--- a/include/configs/mx6sabre_common.h
+++ b/include/configs/mx6sabre_common.h
@@ -251,7 +251,7 @@ 
 #define CONFIG_ENV_IS_IN_MMC
 
 #if defined(CONFIG_ENV_IS_IN_MMC)
-#define CONFIG_ENV_OFFSET		(6 * 64 * 1024)
+#define CONFIG_ENV_OFFSET		(8 * 64 * 1024)
 #endif
 
 #define CONFIG_OF_LIBFDT