summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2016-06-06 11:14:19 +0200
committerStefano Babic <sbabic@denx.de>2016-07-12 17:58:48 +0200
commita32b4a03c717e37561505297a39ed02313e654af (patch)
tree3e91fd3f150ddb2aee60592902041c9991b7e2ef /drivers
parentc133c503ac9e037ccbc1b7a37c07c4068b32d802 (diff)
downloadu-boot-imx-a32b4a03c717e37561505297a39ed02313e654af.zip
u-boot-imx-a32b4a03c717e37561505297a39ed02313e654af.tar.gz
u-boot-imx-a32b4a03c717e37561505297a39ed02313e654af.tar.bz2
pcie_imx: increment timeout for link up
On some boards, the current 20ms timeout is hit. Increase it to 40mS. Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/pcie_imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pcie_imx.c b/drivers/pci/pcie_imx.c
index c14bb0a..732d59d 100644
--- a/drivers/pci/pcie_imx.c
+++ b/drivers/pci/pcie_imx.c
@@ -595,7 +595,7 @@ static int imx_pcie_link_up(void)
while (!imx6_pcie_link_up()) {
udelay(10);
count++;
- if (count >= 2000) {
+ if (count >= 4000) {
#ifdef CONFIG_PCI_SCAN_SHOW
puts("PCI: pcie phy link never came up\n");
#endif