layerscape: add 64b/32b target for ls1046ardb device
[openwrt/openwrt.git] / target / linux / layerscape / patches-4.4 / 8142-drivers-mmc-Add-compatible-string-for-LS1046A.patch
diff --git a/target/linux/layerscape/patches-4.4/8142-drivers-mmc-Add-compatible-string-for-LS1046A.patch b/target/linux/layerscape/patches-4.4/8142-drivers-mmc-Add-compatible-string-for-LS1046A.patch
new file mode 100644 (file)
index 0000000..d86de8b
--- /dev/null
@@ -0,0 +1,25 @@
+From 81c67bb120106c4fbd9b7191ab057b48e13e3e5e Mon Sep 17 00:00:00 2001
+From: Yutang Jiang <yutang.jiang@nxp.com>
+Date: Tue, 8 Nov 2016 01:27:50 +0800
+Subject: [PATCH 142/142] drivers/mmc: Add compatible string for LS1046A
+
+Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
+---
+ drivers/mmc/host/sdhci-of-esdhc.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host/sdhci-of-esdhc.c
+index a04ed4e..1116d38 100644
+--- a/drivers/mmc/host/sdhci-of-esdhc.c
++++ b/drivers/mmc/host/sdhci-of-esdhc.c
+@@ -607,6 +607,7 @@ static int sdhci_esdhc_probe(struct platform_device *pdev)
+           of_device_is_compatible(np, "fsl,p4080-esdhc") ||
+           of_device_is_compatible(np, "fsl,p1020-esdhc") ||
+           of_device_is_compatible(np, "fsl,t1040-esdhc") ||
++              of_device_is_compatible(np, "fsl,ls1046a-esdhc") ||
+           of_device_is_compatible(np, "fsl,ls1021a-esdhc"))
+               host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION;
+-- 
+1.7.9.5
+