summaryrefslogtreecommitdiff
path: root/include/configs/mx6qsabresd.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-12-30 14:14:59 +0000
committerStefano Babic <sbabic@denx.de>2013-01-05 18:00:14 +0100
commitde7d02aeba2a8d3d2b2f688ee396cdc112fc4e29 (patch)
tree2d2eb7561071dd7839b0cfe0098851bd1d3992f5 /include/configs/mx6qsabresd.h
parentfb8302bfc50c6763e20a077cba4a315404ffb727 (diff)
downloadu-boot-imx-de7d02aeba2a8d3d2b2f688ee396cdc112fc4e29.zip
u-boot-imx-de7d02aeba2a8d3d2b2f688ee396cdc112fc4e29.tar.gz
u-boot-imx-de7d02aeba2a8d3d2b2f688ee396cdc112fc4e29.tar.bz2
mx6qsabresd: add usdhc2 and usdhc4 support
The on-board number of available usdhc devices is something board specific. The patch moves CONFIG_SYS_FSL_USDHC_NUM out of mx6qsabre_common.h and adds usdhc2 and usdhc4 support for mx6qsabresd board. To keep the default mmc device for environment same as before (usdhc3), it moves CONFIG_SYS_MMC_ENV_DEV out of mx6qsabre_common.h and changes it to 1 for mx6qsabresd. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'include/configs/mx6qsabresd.h')
-rw-r--r--include/configs/mx6qsabresd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/mx6qsabresd.h b/include/configs/mx6qsabresd.h
index 771d129..227d410 100644
--- a/include/configs/mx6qsabresd.h
+++ b/include/configs/mx6qsabresd.h
@@ -25,4 +25,9 @@
#include "mx6qsabre_common.h"
+#define CONFIG_SYS_FSL_USDHC_NUM 3
+#if defined(CONFIG_ENV_IS_IN_MMC)
+#define CONFIG_SYS_MMC_ENV_DEV 1
+#endif
+
#endif /* __MX6QSABRESD_CONFIG_H */