Skip to content

Commit 4c728d2

Browse files
committed
longer stall
Signed-off-by: Filip Lewiński <[email protected]>
1 parent 03180bf commit 4c728d2

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

DasharoPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1607,14 +1607,17 @@ PlatformBootManagerAfterConsole (
16071607
Enter.UnicodeChar = CHAR_CARRIAGE_RETURN;
16081608
EfiBootManagerRegisterContinueKeyOption (0, &Enter, NULL);
16091609

1610-
if (!mFastBoot || FUMEnabled) {
1611-
// FIXME: USB devices are not being detected unless we wait a bit.
1612-
// But don't wait with fastboot enabled. We typically don't boot a full blown OS from USB.
1613-
gBS->Stall (100 * 1000);
1614-
1615-
// With fast boot, we can't call ConnectAll as it would connect all consoles.
1616-
EfiBootManagerConnectAll ();
1617-
}
1610+
// if (!mFastBoot || FUMEnabled) {
1611+
// // FIXME: USB devices are not being detected unless we wait a bit.
1612+
// // But don't wait with fastboot enabled. We typically don't boot a full blown OS from USB.
1613+
// gBS->Stall (100 * 1000);
1614+
1615+
// // With fast boot, we can't call ConnectAll as it would connect all consoles.
1616+
// EfiBootManagerConnectAll ();
1617+
// }
1618+
1619+
gBS->Stall (200 * 1000);
1620+
EfiBootManagerConnectAll ();
16181621

16191622
EfiBootManagerRefreshAllBootOption ();
16201623

0 commit comments

Comments
 (0)