summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
authorczhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524>2012-07-02 05:17:16 +0000
committerczhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524>2012-07-02 05:17:16 +0000
commitf9b843ec49b141ec83bcd79b0803923299059888 (patch)
tree056b46c43966713e3e164d830f23a2144032dc42 /IntelFrameworkModulePkg
parent6e1450f3095c90cf7119a4dbc8e6710daf988444 (diff)
downloadedk2-platforms-f9b843ec49b141ec83bcd79b0803923299059888.tar.xz
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
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r--IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c2
1 files changed, 1 insertions, 1 deletions
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