Преглед изворни кода

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>
Stefano Babic пре 9 година
родитељ
комит
a32b4a03c7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      drivers/pci/pcie_imx.c

+ 1 - 1
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