Reviewed-by: zwei4 <[email protected]>

Thanks,
David  Wei

Intel SSG/STO/UEFI BIOS                                 

-----Original Message-----
From: Guo, Mang 
Sent: Friday, August 3, 2018 2:18 PM
To: [email protected]
Cc: Wei, David <[email protected]>
Subject: [Patch][edk2-platforms/devel-IntelAtomProcessorE3900] Get boot mode

Get boot mode in platformBootManagerBeforeConsole.

Cc: Wei, David <[email protected]>

Contributed-under: TianoCore Contribution Agreement 1.1

Signed-off-by: Guo Mang <[email protected]>
---
 .../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

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to