Patchwork [U-Boot] mx53loco: set mmc env to MMC slot1

login
register
mail settings
Submitter Jason Liu
Date March 22, 2011, 7:45 a.m.
Message ID <1300779908-12101-1-git-send-email-jason.hui@linaro.org>
Download mbox | patch
Permalink /patch/87871/
State Superseded
Delegated to: Stefano Babic
Headers show

Comments

Jason Liu - March 22, 2011, 7:45 a.m.
mx53loco board has two MMC slots, one is for MicroSD,
the other one is for normal SD, but the final board
design is to only boot from MicroSD. So, make the mmc
env default to slot1(MicroSD slot)

Signed-off-by: Jason Liu <jason.hui@linaro.org>
---
 include/configs/mx53loco.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Stefano Babic - March 25, 2011, 10:44 a.m.
On 03/22/2011 08:45 AM, Jason Liu wrote:
> mx53loco board has two MMC slots, one is for MicroSD,
> the other one is for normal SD, but the final board
> design is to only boot from MicroSD. So, make the mmc
> env default to slot1(MicroSD slot)
> 
> Signed-off-by: Jason Liu <jason.hui@linaro.org>
> ---

Applied to u-boot-imx, next branch, thanks.

Best regards,
Stefano Babic

Patch

diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
index 8c30012..585e8c8 100644
--- a/include/configs/mx53loco.h
+++ b/include/configs/mx53loco.h
@@ -191,6 +191,6 @@ 
 #define CONFIG_ENV_OFFSET      (6 * 64 * 1024)
 #define CONFIG_ENV_SIZE        (8 * 1024)
 #define CONFIG_ENV_IS_IN_MMC
-#define CONFIG_SYS_MMC_ENV_DEV 1
+#define CONFIG_SYS_MMC_ENV_DEV 0
 
 #endif				/* __CONFIG_H */