public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch][edk2-platforms/devel-IntelAtomProcessorE3900] Get boot mode
@ 2018-08-03  6:17 Guo, Mang
  2018-08-03  6:45 ` Wei, David
  0 siblings, 1 reply; 2+ messages in thread
From: Guo, Mang @ 2018-08-03  6:17 UTC (permalink / raw)
  To: edk2-devel@lists.01.org; +Cc: Wei, David

Get boot mode in platformBootManagerBeforeConsole.

Cc: Wei, David <david.wei@intel.com>

Contributed-under: TianoCore Contribution Agreement 1.1

Signed-off-by: Guo Mang <mang.guo@intel.com>
---
 .../Common/Library/PlatformBootManagerLib/PlatformBootManager.c          | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/PlatformBootManager.c b/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/PlatformBootManager.c
index 6715d90..c9c2cbf 100644
--- a/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/PlatformBootManager.c
+++ b/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/PlatformBootManager.c
@@ -858,6 +858,7 @@ PlatformBootManagerBeforeConsole (
   //
   // Fill ConIn/ConOut in Full Configuration boot mode.
   //
+  mBootMode = GetBootModeHob();
   DEBUG ((DEBUG_ERROR, "PlatformBootManagerInit - %x\n", mBootMode));
   if (mBootMode == BOOT_WITH_FULL_CONFIGURATION ||
       mBootMode == BOOT_WITH_DEFAULT_SETTINGS ||
-- 
2.10.1.windows.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-03  6:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-03  6:17 [Patch][edk2-platforms/devel-IntelAtomProcessorE3900] Get boot mode Guo, Mang
2018-08-03  6:45 ` Wei, David

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox