public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 1/2] imx: mx6q/dl sabre_common: Move MMC ENV offset to 512KB position
@ 2014-11-12  6:02 Ye.Li
  2014-11-12  6:02 ` [U-Boot] [PATCH v2 2/2] imx: mx6q/dlsabreauto: And NAND flash support Ye.Li
  2014-11-13 15:33 ` [U-Boot] [PATCH v2 1/2] imx: mx6q/dl sabre_common: Move MMC ENV offset to 512KB position Stefano Babic
  0 siblings, 2 replies; 5+ messages in thread
From: Ye.Li @ 2014-11-12  6:02 UTC (permalink / raw)
  To: u-boot

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
--- 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
-- 
1.7.4.1

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

end of thread, other threads:[~2014-11-13 15:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-12  6:02 [U-Boot] [PATCH v2 1/2] imx: mx6q/dl sabre_common: Move MMC ENV offset to 512KB position Ye.Li
2014-11-12  6:02 ` [U-Boot] [PATCH v2 2/2] imx: mx6q/dlsabreauto: And NAND flash support Ye.Li
2014-11-12 11:28   ` Fabio Estevam
2014-11-13 15:33   ` Stefano Babic
2014-11-13 15:33 ` [U-Boot] [PATCH v2 1/2] imx: mx6q/dl sabre_common: Move MMC ENV offset to 512KB position Stefano Babic

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