diff options
author | Frank Li <Frank.Li@freescale.com> | 2012-03-27 18:04:54 +0800 |
---|---|---|
committer | Frank Li <Frank.Li@freescale.com> | 2012-03-28 11:14:46 +0800 |
commit | daa4fa661c03d848b66d179a93af39f4add23020 (patch) | |
tree | 41310a927d6bf0a5f2d39a68d5b89fbac7cd7850 /arch | |
parent | eb9675f8c9d5a41abb26aff054b8c13de160e31d (diff) |
ENGR00178106 SabreSD: scan emmc slot sd4 firstly for mfgtools
Mfgtools want to emmc block device node is fixed mmcblk0.
Card in other slot is mmcblk1 or mmcblk2
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx6/board-mx6q_sabresd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabresd.c b/arch/arm/mach-mx6/board-mx6q_sabresd.c index a0cd1bb7ec96..90b222c044a4 100644 --- a/arch/arm/mach-mx6/board-mx6q_sabresd.c +++ b/arch/arm/mach-mx6/board-mx6q_sabresd.c @@ -1485,9 +1485,13 @@ static void __init mx6_sabresd_board_init(void) imx6q_add_anatop_thermal_imx(1, &mx6q_sabresd_anatop_thermal_data); imx6_init_fec(fec_data); imx6q_add_pm_imx(0, &mx6q_sabresd_pm_data); + + /* Move sd4 to first because sd4 connect to emmc. + Mfgtools want emmc is mmcblk0 and other sd card is mmcblk1. + */ + imx6q_add_sdhci_usdhc_imx(3, &mx6q_sabresd_sd4_data); imx6q_add_sdhci_usdhc_imx(1, &mx6q_sabresd_sd2_data); imx6q_add_sdhci_usdhc_imx(2, &mx6q_sabresd_sd3_data); - imx6q_add_sdhci_usdhc_imx(3, &mx6q_sabresd_sd4_data); imx_add_viv_gpu(&imx6_gpu_data, &imx6q_gpu_pdata); imx6q_sabresd_init_usb(); /* SATA is not supported by MX6DL/Solo */ |