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:
@@ -221,6 +221,9 @@ PlatformBootManagerAfterConsole (
|
|||||||
gST->ConOut->ClearScreen (gST->ConOut);
|
gST->ConOut->ClearScreen (gST->ConOut);
|
||||||
BootLogoEnableLogo ();
|
BootLogoEnableLogo ();
|
||||||
|
|
||||||
|
// FIXME: USB devices are not being detected unless we wait a bit.
|
||||||
|
gBS->Stall (100 * 1000);
|
||||||
|
|
||||||
EfiBootManagerConnectAll ();
|
EfiBootManagerConnectAll ();
|
||||||
EfiBootManagerRefreshAllBootOption ();
|
EfiBootManagerRefreshAllBootOption ();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user