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 00283317d8
commit 2af54dd5bd

View File

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