UefiPayloadPkg: Stall before connecting devices

USB devices are not being detected when booting. Pause a bit for them to
be initialized and detected by EfiBootManagerConnectAll().
This commit is contained in:
Tim Crawford
2020-02-17 08:21:10 -07:00
committed by Jeremy Soller
parent fa0e9ec925
commit 995df206c3

View File

@@ -196,6 +196,9 @@ PlatformBootManagerAfterConsole (
gST->ConOut->ClearScreen (gST->ConOut);
BootLogoEnableLogo ();
// FIXME: USB devices are not being detected unless we wait a bit.
gBS->Stall (100 * 1000);
EfiBootManagerConnectAll ();
EfiBootManagerRefreshAllBootOption ();