]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c
UefiPayloadPkg/PlatformBootManager: Connect console after EndOfDxe
[mirror_edk2.git] / UefiPayloadPkg / Library / PlatformBootManagerLib / PlatformBootManager.c
index c5c6af0abcb2b68889a7f42e70b6a14d6ac9cdfb..7fa3a048b74184a00e05b033581931208d641765 100644 (file)
@@ -157,8 +157,6 @@ PlatformBootManagerBeforeConsole (
   EFI_INPUT_KEY                Down;\r
   EFI_BOOT_MANAGER_LOAD_OPTION BootOption;\r
 \r
-  PlatformConsoleInit ();\r
-\r
   //\r
   // Register ENTER as CONTINUE key\r
   //\r
@@ -192,6 +190,8 @@ PlatformBootManagerBeforeConsole (
   // Dispatch deferred images after EndOfDxe event and ReadyToLock installation.\r
   //\r
   EfiBootManagerDispatchDeferredImages ();\r
+\r
+  PlatformConsoleInit ();\r
 }\r
 \r
 /**\r