summaryrefslogtreecommitdiff
path: root/board/freescale/mx6qsabresd
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2013-03-16 08:05:05 +0000
committerStefano Babic <sbabic@denx.de>2013-04-03 10:40:13 +0200
commit28ff917c28977e954d47148562a42d9468bfae62 (patch)
treec697ec22d3407798f5239290d28793bd547fa9f6 /board/freescale/mx6qsabresd
parente2d282a1b468559c5f7e847db75eeca99644148a (diff)
downloadu-boot-imx-28ff917c28977e954d47148562a42d9468bfae62.zip
u-boot-imx-28ff917c28977e954d47148562a42d9468bfae62.tar.gz
u-boot-imx-28ff917c28977e954d47148562a42d9468bfae62.tar.bz2
mx6qsabresd: Document the mapping of USDHC[2-4]
This documents the SD card identifier so it is easier for user to spot which card number will be used, if need. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'board/freescale/mx6qsabresd')
-rw-r--r--board/freescale/mx6qsabresd/mx6qsabresd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/freescale/mx6qsabresd/mx6qsabresd.c b/board/freescale/mx6qsabresd/mx6qsabresd.c
index 2b3926a..5ebbff3 100644
--- a/board/freescale/mx6qsabresd/mx6qsabresd.c
+++ b/board/freescale/mx6qsabresd/mx6qsabresd.c
@@ -160,6 +160,13 @@ int board_mmc_init(bd_t *bis)
{
int i;
+ /*
+ * According to the board_mmc_init() the following map is done:
+ * (U-boot device node) (Physical Port)
+ * mmc0 SD2
+ * mmc1 SD3
+ * mmc2 eMMC
+ */
for (i = 0; i < CONFIG_SYS_FSL_USDHC_NUM; i++) {
switch (i) {
case 0: