[PATCH] UefiPayloadPkg/PlatformBootManager: Connect console after EndOfDxe


Patrick Rudolph
 

Currently the console is connected before EndOfDxe causing OptionsROMs
to be loaded, but their drivers aren't used and thus no GOP is installed.

To make use of 3rdparty OptionROMs connect the console after EndOfDxe.

Tested on Intel CFL board using Nvidia Quadro GPU.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
---
UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c | 4 ++=
--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootMana=
ger.c b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c
index c5c6af0abc..7fa3a048b7 100644
--- a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c
+++ b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c
@@ -157,8 +157,6 @@ PlatformBootManagerBeforeConsole (
EFI_INPUT_KEY Down;=0D
EFI_BOOT_MANAGER_LOAD_OPTION BootOption;=0D
=0D
- PlatformConsoleInit ();=0D
-=0D
//=0D
// Register ENTER as CONTINUE key=0D
//=0D
@@ -192,6 +190,8 @@ PlatformBootManagerBeforeConsole (
// Dispatch deferred images after EndOfDxe event and ReadyToLock install=
ation.=0D
//=0D
EfiBootManagerDispatchDeferredImages ();=0D
+=0D
+ PlatformConsoleInit ();=0D
}=0D
=0D
/**=0D
--=20
2.26.2

Join devel@edk2.groups.io to automatically receive all group messages.