diff --git a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c index 8c4064c191..e00cd0bb80 100644 --- a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c +++ b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c @@ -332,6 +332,7 @@ BdsWait ( if (HotkeyTriggered != NULL) { Status = BdsWaitForSingleEvent (HotkeyTriggered, EFI_TIMER_PERIOD_SECONDS (1)); if (!EFI_ERROR (Status)) { + TimeoutRemain = 0; break; } } else { diff --git a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c index 0788d850ab..79199c7bc2 100644 --- a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c +++ b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c @@ -383,6 +383,11 @@ PlatformBootManagerWaitCallback ( UINT16 TimeoutRemain ) { + /* Clear text from screen once timeout expires */ + if (TimeoutRemain == 0) { + gST->ConOut->ClearScreen (gST->ConOut); + BootLogoEnableLogo (); + } return; }