Skip to content

Commit 54764b2

Browse files
committed
Rk3588PciHostBridgeLib: Decrease link up timeout to 1 second
2 seconds seem rather excessive. Linux also waits 1 second. Signed-off-by: Mario Bălănică <[email protected]>
1 parent 021a476 commit 54764b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

edk2-rockchip/Silicon/Rockchip/RK3588/Library/Rk3588PciHostBridgeLib/PciHostBridgeInit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ InitializePciHost (
672672

673673
/* Wait for link up */
674674
DEBUG ((DEBUG_INIT, "PCIe: Waiting for link up...\n"));
675-
for (Retry = 20; Retry != 0; Retry--) {
675+
for (Retry = 10; Retry != 0; Retry--) {
676676
if (PciIsLinkUp (ApbBase)) {
677677
break;
678678
}

0 commit comments

Comments
 (0)