Patchwork [U-Boot,3/3] mx6qsabresd: use on-board eMMC to store environment

login
register
mail settings
Submitter Shawn Guo
Date Dec. 31, 2012, 12:15 a.m.
Message ID <1356912900-32228-4-git-send-email-shawn.guo@linaro.org>
Download mbox | patch
Permalink /patch/208818/
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Comments

Shawn Guo - Dec. 31, 2012, 12:15 a.m.
It makes more sense to use on-board eMMC to store environments.  The
boot partition 1 is selected by default.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
---
 include/configs/mx6qsabresd.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Stefano Babic - Jan. 5, 2013, 5:01 p.m.
On 31/12/2012 01:15, Shawn Guo wrote:
> It makes more sense to use on-board eMMC to store environments.  The
> boot partition 1 is selected by default.
> 
> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
> ---

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

Patch

diff --git a/include/configs/mx6qsabresd.h b/include/configs/mx6qsabresd.h
index 227d410..a1d9285 100644
--- a/include/configs/mx6qsabresd.h
+++ b/include/configs/mx6qsabresd.h
@@ -27,7 +27,8 @@ 
 
 #define CONFIG_SYS_FSL_USDHC_NUM	3
 #if defined(CONFIG_ENV_IS_IN_MMC)
-#define CONFIG_SYS_MMC_ENV_DEV		1
+#define CONFIG_SYS_MMC_ENV_DEV		2	/* eMMC/uSDHC4 */
+#define CONFIG_SYS_MMC_ENV_PART		1	/* Boot partition 1 */
 #endif
 
 #endif                         /* __MX6QSABRESD_CONFIG_H */