浏览代码

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>
Otavio Salvador 12 年之前
父节点
当前提交
28ff917c28
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      board/freescale/mx6qsabresd/mx6qsabresd.c

+ 7 - 0
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: