mirror of
https://github.com/edk2-porting/edk2-rk3588.git
synced 2025-12-30 01:34:14 +08:00
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ă <mariobalanica02@gmail.com>
This commit is contained in:
@@ -672,7 +672,7 @@ InitializePciHost (
|
|||||||
|
|
||||||
/* Wait for link up */
|
/* Wait for link up */
|
||||||
DEBUG ((DEBUG_INIT, "PCIe: Waiting for link up...\n"));
|
DEBUG ((DEBUG_INIT, "PCIe: Waiting for link up...\n"));
|
||||||
for (Retry = 20; Retry != 0; Retry--) {
|
for (Retry = 10; Retry != 0; Retry--) {
|
||||||
if (PciIsLinkUp (ApbBase)) {
|
if (PciIsLinkUp (ApbBase)) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user