mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
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>
This commit is contained in:
parent
c133c503ac
commit
a32b4a03c7
|
@ -595,7 +595,7 @@ static int imx_pcie_link_up(void)
|
||||||
while (!imx6_pcie_link_up()) {
|
while (!imx6_pcie_link_up()) {
|
||||||
udelay(10);
|
udelay(10);
|
||||||
count++;
|
count++;
|
||||||
if (count >= 2000) {
|
if (count >= 4000) {
|
||||||
#ifdef CONFIG_PCI_SCAN_SHOW
|
#ifdef CONFIG_PCI_SCAN_SHOW
|
||||||
puts("PCI: pcie phy link never came up\n");
|
puts("PCI: pcie phy link never came up\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user