summaryrefslogtreecommitdiffstats
path: root/include/configs/mx6sxsabresd.h
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-11-04 15:36:40 +0800
committerStefano Babic <sbabic@denx.de>2014-11-20 10:45:14 +0100
commitd0fbca2a3ac093fd65984afe22a3545098d0cc98 (patch)
tree40c74ccac2a59a0d350327c1e835dc643d95d7f9 /include/configs/mx6sxsabresd.h
parenta3d6e386176e3702d8f975b1c2b10162c3e15fc0 (diff)
downloadtalos-obmc-uboot-d0fbca2a3ac093fd65984afe22a3545098d0cc98.tar.gz
talos-obmc-uboot-d0fbca2a3ac093fd65984afe22a3545098d0cc98.zip
imx: mx6sxsabresd: Add board support for USDHC2 and USDHC3
Add full support for USDHC2, USDHC3, USDHC4 on mx6sx sabresd board. The default boot socket is USDHC4, so the MMC environment device and mmcdev variable are set to this device. Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'include/configs/mx6sxsabresd.h')
-rw-r--r--include/configs/mx6sxsabresd.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index e02ea18a64..d8ab2917ea 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -59,7 +59,7 @@
"fdt_addr=0x88000000\0" \
"boot_fdt=try\0" \
"ip_dyn=yes\0" \
- "mmcdev=0\0" \
+ "mmcdev=2\0" \
"mmcpart=1\0" \
"mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
"mmcargs=setenv bootargs console=${console},${baudrate} " \
@@ -214,7 +214,6 @@
#define CONFIG_ENV_OFFSET (6 * SZ_64K)
#define CONFIG_ENV_SIZE SZ_8K
#define CONFIG_ENV_IS_IN_MMC
-#define CONFIG_SYS_MMC_ENV_DEV 0
#define CONFIG_OF_LIBFDT
#define CONFIG_CMD_BOOTZ
@@ -223,4 +222,9 @@
#define CONFIG_CMD_CACHE
#endif
+#define CONFIG_SYS_FSL_USDHC_NUM 3
+#if defined(CONFIG_ENV_IS_IN_MMC)
+#define CONFIG_SYS_MMC_ENV_DEV 2 /*USDHC4*/
+#endif
+
#endif /* __CONFIG_H */
OpenPOWER on IntegriCloud