]> code.ossystems Code Review - meta-freescale.git/commit
linux-imx_3.14.28: fix initial MMC device detection
authorAndreas Müller <schnitzeltony@googlemail.com>
Mon, 8 Jun 2015 12:48:05 +0000 (14:48 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 9 Jun 2015 18:46:17 +0000 (15:46 -0300)
commit29f7029f55d0d262a7fb93fa074aa56e9b353d75
tree427f6b60d07f7019489e7803a8c3c2f710dfcd54
parent190a878a4b2ba83050db4d58f073aca39854dcd2
linux-imx_3.14.28: fix initial MMC device detection

On Variscite Varsom we have three devices connected to MMC

* MMC1: eMMC
* MMC2: SDCard
* MMC3: Wifi

Without this patch only the first device was detected properly.
I found two workarounds which can be removed by this patch:

1. Variscite: booting from SDCard made possible by renumbering MMC devices [1].
2. BoundaryDevices: Add workqueues for each mmc_host [2]. This had been tested
   here too but causes crashing sdcard for huge storage traffic.

[1] https://github.com/varigit/linux-2.6-imx/blob/imx_3.10.53_1.1.0_ga_var01/arch/arm/boot/dts/imx6qdl.dtsi / Line 879
[2] https://github.com/boundarydevices/linux-imx6/commit/1d40159a995a298f16901bfb14ae3e0294c65691

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-kernel/linux/linux-imx-3.14.28/0004-mmc-sdhci-esdhc-imx-Fixup-runtime-PM-conditions-duri.patch [new file with mode: 0644]
meta-fsl-arm/recipes-kernel/linux/linux-imx_3.14.28.bb