public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] imx: mx6: Change ENV offset to 512K bytes for larger u-boot image
@ 2015-01-16  8:47 Ye.Li
  2015-01-22  9:16 ` Stefano Babic
  0 siblings, 1 reply; 2+ messages in thread
From: Ye.Li @ 2015-01-16  8:47 UTC (permalink / raw)
  To: u-boot

To align with other mx6 boards, change ENV offset from 384KB to
512KB position to fit a larger u-boot image.

Signed-off-by: Ye.Li <B37916@freescale.com>
---
 include/configs/mx6slevk.h     |    2 +-
 include/configs/mx6sxsabresd.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
index e3e7f76..ed50dfb 100644
--- a/include/configs/mx6slevk.h
+++ b/include/configs/mx6slevk.h
@@ -187,7 +187,7 @@
 /* FLASH and environment organization */
 #define CONFIG_SYS_NO_FLASH
 
-#define CONFIG_ENV_OFFSET		(6 * SZ_64K)
+#define CONFIG_ENV_OFFSET		(8 * SZ_64K)
 #define CONFIG_ENV_SIZE			SZ_8K
 #define CONFIG_ENV_IS_IN_MMC
 
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index 61a7a7a..c5dc982 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -235,7 +235,7 @@
 /* FLASH and environment organization */
 #define CONFIG_SYS_NO_FLASH
 
-#define CONFIG_ENV_OFFSET		(6 * SZ_64K)
+#define CONFIG_ENV_OFFSET		(8 * SZ_64K)
 #define CONFIG_ENV_SIZE			SZ_8K
 #define CONFIG_ENV_IS_IN_MMC
 
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] imx: mx6: Change ENV offset to 512K bytes for larger u-boot image
  2015-01-16  8:47 [U-Boot] [PATCH] imx: mx6: Change ENV offset to 512K bytes for larger u-boot image Ye.Li
@ 2015-01-22  9:16 ` Stefano Babic
  0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2015-01-22  9:16 UTC (permalink / raw)
  To: u-boot

Hi Ye,

On 16/01/2015 09:47, Ye.Li wrote:
> To align with other mx6 boards, change ENV offset from 384KB to
> 512KB position to fit a larger u-boot image.
> 
> Signed-off-by: Ye.Li <B37916@freescale.com>
> ---
>  include/configs/mx6slevk.h     |    2 +-
>  include/configs/mx6sxsabresd.h |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
> index e3e7f76..ed50dfb 100644
> --- a/include/configs/mx6slevk.h
> +++ b/include/configs/mx6slevk.h
> @@ -187,7 +187,7 @@
>  /* FLASH and environment organization */
>  #define CONFIG_SYS_NO_FLASH
>  
> -#define CONFIG_ENV_OFFSET		(6 * SZ_64K)
> +#define CONFIG_ENV_OFFSET		(8 * SZ_64K)
>  #define CONFIG_ENV_SIZE			SZ_8K
>  #define CONFIG_ENV_IS_IN_MMC
>  
> diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
> index 61a7a7a..c5dc982 100644
> --- a/include/configs/mx6sxsabresd.h
> +++ b/include/configs/mx6sxsabresd.h
> @@ -235,7 +235,7 @@
>  /* FLASH and environment organization */
>  #define CONFIG_SYS_NO_FLASH
>  
> -#define CONFIG_ENV_OFFSET		(6 * SZ_64K)
> +#define CONFIG_ENV_OFFSET		(8 * SZ_64K)
>  #define CONFIG_ENV_SIZE			SZ_8K
>  #define CONFIG_ENV_IS_IN_MMC
>  

Applied after slightly rebasing due to SPI-NOR support in mx6slevk -
thanks !

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-22  9:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-16  8:47 [U-Boot] [PATCH] imx: mx6: Change ENV offset to 512K bytes for larger u-boot image Ye.Li
2015-01-22  9:16 ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox