]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c
In PcdBootlogoOnlyEnable case, Clear cursor & screen when key rather than Hotkey or
[mirror_edk2.git] / IntelFrameworkModulePkg / Universal / BdsDxe / FrontPage.c
index 7856edcb323dfb30d1f784b01e007ce6fe42e3dc..752a815770255d5b04cf89277436de21e3a0adfb 100644 (file)
@@ -1074,7 +1074,7 @@ PlatformBdsEnterFrontPage (
     Status = ShowProgress (TimeoutDefault);\r
     StatusHotkey = HotkeyBoot ();\r
 \r
-    if (!FeaturePcdGet(PcdBootlogoOnlyEnable) || !EFI_ERROR(StatusHotkey)){\r
+    if (!FeaturePcdGet(PcdBootlogoOnlyEnable) || !EFI_ERROR(Status) || !EFI_ERROR(StatusHotkey)){\r
       //\r
       // Ensure screen is clear when switch Console from Graphics mode to Text mode\r
       // Skip it in normal boot \r