diff options
author | Marek Vasut <marex@denx.de> | 2013-10-22 22:12:18 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-10-29 16:17:02 -0600 |
commit | 017f10e1c78e14d48be7a28f2c33a32dae15fee5 (patch) | |
tree | 2693eb5a63db8ba8f4cab794e6aed1a8b3fc8aa7 /drivers/pci/host/pci-imx6.c | |
parent | 4ec3ed7f5e91e9325c810dcb995ef5a55e4a79a6 (diff) |
PCI: imx6: Increase link startup timeout
A longer link startup timeout is required when certain PCI switches are
attached to the root complex. This was tested with a Pericom switch
and a PLX switch.
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Tim Harvey <tharvey@gateworks.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'drivers/pci/host/pci-imx6.c')
-rw-r--r-- | drivers/pci/host/pci-imx6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c index 7426ad961b81..baafb397a698 100644 --- 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 pcie_port *pp) 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", |