diff options
Diffstat (limited to 'recipes-kernel/linux/linux-cubox-i-3.0.35/0007-ARM-mach-mx6-board-mx6q_sabresd-Register-SDHC3-first.patch')
-rw-r--r-- | recipes-kernel/linux/linux-cubox-i-3.0.35/0007-ARM-mach-mx6-board-mx6q_sabresd-Register-SDHC3-first.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-cubox-i-3.0.35/0007-ARM-mach-mx6-board-mx6q_sabresd-Register-SDHC3-first.patch b/recipes-kernel/linux/linux-cubox-i-3.0.35/0007-ARM-mach-mx6-board-mx6q_sabresd-Register-SDHC3-first.patch new file mode 100644 index 0000000..d02aa40 --- /dev/null +++ b/recipes-kernel/linux/linux-cubox-i-3.0.35/0007-ARM-mach-mx6-board-mx6q_sabresd-Register-SDHC3-first.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | From cd31abbe08372fa870fac78ae845edd4859f8835 Mon Sep 17 00:00:00 2001 | ||
2 | From: Fabio Estevam <fabio.estevam@freescale.com> | ||
3 | Date: Sat, 28 Sep 2013 18:46:18 -0300 | ||
4 | Subject: [PATCH] ARM: mach-mx6: board-mx6q_sabresd: Register SDHC3 first | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | On sabresd boards we boot from SDHC3, so let's register it as mmc0. | ||
8 | |||
9 | Currently eMMC is mmc0 and mmc1 can be SDHC3 or SDHC2 (if present). | ||
10 | |||
11 | Registering SDHC3 is safer as we can always find the rootfs. | ||
12 | |||
13 | Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> | ||
14 | --- | ||
15 | arch/arm/mach-mx6/board-mx6q_sabresd.c | 5 +---- | ||
16 | 1 file changed, 1 insertion(+), 4 deletions(-) | ||
17 | |||
18 | diff --git a/arch/arm/mach-mx6/board-mx6q_sabresd.c b/arch/arm/mach-mx6/board-mx6q_sabresd.c | ||
19 | index 3f9a845..4e6b323 100644 | ||
20 | --- a/arch/arm/mach-mx6/board-mx6q_sabresd.c | ||
21 | +++ b/arch/arm/mach-mx6/board-mx6q_sabresd.c | ||
22 | @@ -1847,12 +1847,9 @@ static void __init mx6_sabresd_board_init(void) | ||
23 | |||
24 | imx6q_add_pm_imx(0, &mx6q_sabresd_pm_data); | ||
25 | |||
26 | - /* Move sd4 to first because sd4 connect to emmc. | ||
27 | - Mfgtools want emmc is mmcblk0 and other sd card is mmcblk1. | ||
28 | - */ | ||
29 | + imx6q_add_sdhci_usdhc_imx(2, &mx6q_sabresd_sd3_data); | ||
30 | imx6q_add_sdhci_usdhc_imx(3, &mx6q_sabresd_sd4_data); | ||
31 | imx6q_add_sdhci_usdhc_imx(1, &mx6q_sabresd_sd2_data); | ||
32 | - imx6q_add_sdhci_usdhc_imx(2, &mx6q_sabresd_sd3_data); | ||
33 | imx_add_viv_gpu(&imx6_gpu_data, &imx6q_gpu_pdata); | ||
34 | imx6q_sabresd_init_usb(); | ||
35 | /* SATA is not supported by MX6DL/Solo */ | ||
36 | -- | ||
37 | 1.8.4.rc3 | ||
38 | |||