aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6/patches-3.10/0033-PCI-imx6-increase-link-startup.patch
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-10-23 22:16:03 +0000
committerLuka Perkov <luka@openwrt.org>2013-10-23 22:16:03 +0000
commitcd43416a78b0cdd194cc35099959f182cdbba015 (patch)
treeeec3365951eca4084c4cf2ce30000c5f7fa6b474 /target/linux/imx6/patches-3.10/0033-PCI-imx6-increase-link-startup.patch
parenta0c9c711cd30c26f7b06eeea208fad6233c90d5c (diff)
downloadupstream-cd43416a78b0cdd194cc35099959f182cdbba015.tar.gz
upstream-cd43416a78b0cdd194cc35099959f182cdbba015.tar.bz2
upstream-cd43416a78b0cdd194cc35099959f182cdbba015.zip
imx6: pcie driver fixups
Add upstream patches needed for PCIe through a switch. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 38511
Diffstat (limited to 'target/linux/imx6/patches-3.10/0033-PCI-imx6-increase-link-startup.patch')
-rw-r--r--target/linux/imx6/patches-3.10/0033-PCI-imx6-increase-link-startup.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/imx6/patches-3.10/0033-PCI-imx6-increase-link-startup.patch b/target/linux/imx6/patches-3.10/0033-PCI-imx6-increase-link-startup.patch
new file mode 100644
index 0000000000..a94a166908
--- /dev/null
+++ b/target/linux/imx6/patches-3.10/0033-PCI-imx6-increase-link-startup.patch
@@ -0,0 +1,24 @@
+From 11e8d0ed8cc3b415767961555efc2885791a9391 Mon Sep 17 00:00:00 2001
+From: Tim Harvey <tharvey@gateworks.com>
+Date: Thu, 17 Oct 2013 15:57:28 -0700
+Subject: [PATCH 4/5] PCI: imx6: increase link startup
+
+An increase link startup delay is required when certain PCI switches are
+attached to the root complex.
+
+Signed-off-by: Tim Harvey <tharvey@gateworks.com>
+---
+ drivers/pci/host/pci-imx6.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/pci/host/pci-imx6.c
++++ b/drivers/pci/host/pci-imx6.c
+@@ -318,7 +318,7 @@ static void imx6_pcie_host_init(struct p
+ while (!dw_pcie_link_up(pp)) {
+ usleep_range(100, 1000);
+ count++;
+- if (count >= 10) {
++ if (count >= 200) {
+ dev_err(pp->dev, "phy link never came up\n");
+ dev_dbg(pp->dev,
+ "DEBUG_R0: 0x%08x, DEBUG_R1: 0x%08x\n",