diff options
author | Guo Dong <guo.dong@intel.com> | 2021-02-11 21:30:49 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-02-12 04:44:12 +0000 |
commit | 2e1e8c35f3178df95d79da81ac6deec242da74c2 (patch) | |
tree | 0c8e9cd7a37c276c972357940522e2b11ee99704 /UefiPayloadPkg | |
parent | 649a59bf83f71c06056b25f4e12cad2a8d137d6c (diff) | |
download | edk2-2e1e8c35f3178df95d79da81ac6deec242da74c2.zip edk2-2e1e8c35f3178df95d79da81ac6deec242da74c2.tar.gz edk2-2e1e8c35f3178df95d79da81ac6deec242da74c2.tar.bz2 |
UefiPayloadPkg/PlatformBootManager: Connect console after EndOfDxe
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>
Reviewed-by: Guo Dong <guo.dong@intel.com>
Reviewed-by: Sunny Wang <sunnywang@hpe.com>
Diffstat (limited to 'UefiPayloadPkg')
-rw-r--r-- | UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c index c5c6af0..7fa3a04 100644 --- a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c +++ b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c @@ -157,8 +157,6 @@ PlatformBootManagerBeforeConsole ( EFI_INPUT_KEY Down;
EFI_BOOT_MANAGER_LOAD_OPTION BootOption;
- PlatformConsoleInit ();
-
//
// Register ENTER as CONTINUE key
//
@@ -192,6 +190,8 @@ PlatformBootManagerBeforeConsole ( // Dispatch deferred images after EndOfDxe event and ReadyToLock installation.
//
EfiBootManagerDispatchDeferredImages ();
+
+ PlatformConsoleInit ();
}
/**
|