From 7e3fff8cfb6babae21ddd1c8422d1e420402f999 Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Mon, 31 Jan 2022 03:47:11 +0800 Subject: [PATCH] PlatformBootManagerLib: clear screen after progress --- sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c b/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c index b4e4077..c403727 100644 --- a/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c +++ b/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c @@ -714,6 +714,12 @@ VOID EFIAPI PlatformBootManagerWaitCallback(UINT16 TimeoutRemain) Timeout = PcdGet16(PcdPlatformBootTimeOut); + if (Timeout != 0 && TimeoutRemain <= 0) { + gST->ConOut->ClearScreen(gST->ConOut); + BootLogoEnableLogo (); + return; + } + Black.Raw = 0x00000000; White.Raw = 0x00FFFFFF; -- 2.45.2