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
parent 4f9743107d
commit 5f7a6fe58b

View File

@@ -255,6 +255,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 ();