]> git.proxmox.com Git - mirror_edk2.git/commitdiff
In PcdBootlogoOnlyEnable case, Clear cursor & screen when key rather than Hotkey or
authorczhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 2 Jul 2012 05:17:16 +0000 (05:17 +0000)
committerczhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 2 Jul 2012 05:17:16 +0000 (05:17 +0000)
Enter is pressed to goto front page

Signed-off-by: czhang46
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13480 6f19259b-4bc3-4df7-8a09-765794883524

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