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

Jason Liu jason.hui at linaro.org
Tue Mar 22 08:45:08 CET 2011


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 at linaro.org>
---
 include/configs/mx53loco.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 */
-- 
1.7.1



More information about the U-Boot mailing list