From f9b843ec49b141ec83bcd79b0803923299059888 Mon Sep 17 00:00:00 2001 From: czhang46 Date: Mon, 2 Jul 2012 05:17:16 +0000 Subject: In PcdBootlogoOnlyEnable case, Clear cursor & screen when key rather than Hotkey or 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IntelFrameworkModulePkg/Universal') diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c b/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c index 7856edcb32..752a815770 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c @@ -1074,7 +1074,7 @@ PlatformBdsEnterFrontPage ( Status = ShowProgress (TimeoutDefault); StatusHotkey = HotkeyBoot (); - if (!FeaturePcdGet(PcdBootlogoOnlyEnable) || !EFI_ERROR(StatusHotkey)){ + if (!FeaturePcdGet(PcdBootlogoOnlyEnable) || !EFI_ERROR(Status) || !EFI_ERROR(StatusHotkey)){ // // Ensure screen is clear when switch Console from Graphics mode to Text mode // Skip it in normal boot -- cgit v1.2.3