aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6/patches-3.12/0033-PCI-imx6-increase-link-startup.patch
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-10-29 02:19:09 +0000
committerLuka Perkov <luka@openwrt.org>2013-10-29 02:19:09 +0000
commite291d89f5c9c3d0de27c73d5f775964fc701aca6 (patch)
tree48c43554bbefd5a7697ab36dfb843b309209eea6 /target/linux/imx6/patches-3.12/0033-PCI-imx6-increase-link-startup.patch
parenta9f1f034386bbd54d70524718e5017b35cc55f8b (diff)
downloadmaster-187ad058-e291d89f5c9c3d0de27c73d5f775964fc701aca6.tar.gz
master-187ad058-e291d89f5c9c3d0de27c73d5f775964fc701aca6.tar.bz2
master-187ad058-e291d89f5c9c3d0de27c73d5f775964fc701aca6.zip
imx6: add initial 3.12 support
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38574 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/imx6/patches-3.12/0033-PCI-imx6-increase-link-startup.patch')
-rw-r--r--target/linux/imx6/patches-3.12/0033-PCI-imx6-increase-link-startup.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/imx6/patches-3.12/0033-PCI-imx6-increase-link-startup.patch b/target/linux/imx6/patches-3.12/0033-PCI-imx6-increase-link-startup.patch
new file mode 100644
index 0000000000..a94a166908
--- /dev/null
+++ b/target/linux/imx6/patches-3.12/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",