projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2d282a
)
mx6qsabresd: Document the mapping of USDHC[2-4]
author
Otavio Salvador
<otavio@ossystems.com.br>
Sat, 16 Mar 2013 08:05:05 +0000
(08:05 +0000)
committer
Stefano Babic
<sbabic@denx.de>
Wed, 3 Apr 2013 08:40:13 +0000
(10:40 +0200)
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>
board/freescale/mx6qsabresd/mx6qsabresd.c
patch
|
blob
|
history
diff --git
a/board/freescale/mx6qsabresd/mx6qsabresd.c
b/board/freescale/mx6qsabresd/mx6qsabresd.c
index
2b3926a
..
5ebbff3
100644
(file)
--- 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: