Commit a32b4a03c717e37561505297a39ed02313e654af

Authored by Stefano Babic
1 parent c133c503ac

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/pci/pcie_imx.c
... ... @@ -595,7 +595,7 @@
595 595 while (!imx6_pcie_link_up()) {
596 596 udelay(10);
597 597 count++;
598   - if (count >= 2000) {
  598 + if (count >= 4000) {
599 599 #ifdef CONFIG_PCI_SCAN_SHOW
600 600 puts("PCI: pcie phy link never came up\n");
601 601 #endif