* [PATCH] CorebootPayloadPkg: Make EFI shell the last boot option.
@ 2016-10-27 0:51 gdong1
2016-10-27 2:54 ` Ma, Maurice
0 siblings, 1 reply; 2+ messages in thread
From: gdong1 @ 2016-10-27 0:51 UTC (permalink / raw)
To: edk2-devel; +Cc: maurice.ma, prince.agyeman, guo.dong
To let it boot to OS automatically, make built in shell
as the last boot option.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Guo Dong <guo.dong@intel.com>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
---
.../Library/PlatformBootManagerLib/PlatformBootManager.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c b/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c
index a31384a..1546e48 100644
--- a/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c
+++ b/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c
@@ -201,11 +201,6 @@ PlatformBootManagerBeforeConsole (
EfiBootManagerAddKeyOptionVariable (NULL, (UINT16) BootOption.OptionNumber, 0, &F2, NULL);
//
- // Register UEFI Shell
- //
- PlatformRegisterFvBootOption (PcdGetPtr (PcdShellFile), L"UEFI Shell", LOAD_OPTION_ACTIVE);
-
- //
// Install ready to lock.
// This needs to be done before option rom dispatched.
//
@@ -237,6 +232,11 @@ PlatformBootManagerAfterConsole (
EfiBootManagerConnectAll ();
EfiBootManagerRefreshAllBootOption ();
+ //
+ // Register UEFI Shell
+ //
+ PlatformRegisterFvBootOption (PcdGetPtr (PcdShellFile), L"UEFI Shell", LOAD_OPTION_ACTIVE);
+
Print (
L"\n"
L"F2 to enter Boot Manager Menu.\n"
--
2.7.0.windows.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] CorebootPayloadPkg: Make EFI shell the last boot option.
2016-10-27 0:51 [PATCH] CorebootPayloadPkg: Make EFI shell the last boot option gdong1
@ 2016-10-27 2:54 ` Ma, Maurice
0 siblings, 0 replies; 2+ messages in thread
From: Ma, Maurice @ 2016-10-27 2:54 UTC (permalink / raw)
To: Dong, Guo; +Cc: Agyeman, Prince, edk2-devel@lists.01.org
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
-----Original Message-----
From: Dong, Guo
Sent: Wednesday, October 26, 2016 5:51 PM
To: edk2-devel@lists.01.org
Cc: Ma, Maurice; Agyeman, Prince; Dong, Guo
Subject: [edk2] [PATCH] CorebootPayloadPkg: Make EFI shell the last boot option.
To let it boot to OS automatically, make built in shell as the last boot option.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Guo Dong <guo.dong@intel.com>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
---
.../Library/PlatformBootManagerLib/PlatformBootManager.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c b/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c
index a31384a..1546e48 100644
--- a/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c
+++ b/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootMana
+++ ger.c
@@ -201,11 +201,6 @@ PlatformBootManagerBeforeConsole (
EfiBootManagerAddKeyOptionVariable (NULL, (UINT16) BootOption.OptionNumber, 0, &F2, NULL);
//
- // Register UEFI Shell
- //
- PlatformRegisterFvBootOption (PcdGetPtr (PcdShellFile), L"UEFI Shell", LOAD_OPTION_ACTIVE);
-
- //
// Install ready to lock.
// This needs to be done before option rom dispatched.
//
@@ -237,6 +232,11 @@ PlatformBootManagerAfterConsole (
EfiBootManagerConnectAll ();
EfiBootManagerRefreshAllBootOption ();
+ //
+ // Register UEFI Shell
+ //
+ PlatformRegisterFvBootOption (PcdGetPtr (PcdShellFile), L"UEFI
+ Shell", LOAD_OPTION_ACTIVE);
+
Print (
L"\n"
L"F2 to enter Boot Manager Menu.\n"
--
2.7.0.windows.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-27 2:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-27 0:51 [PATCH] CorebootPayloadPkg: Make EFI shell the last boot option gdong1
2016-10-27 2:54 ` Ma, Maurice
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox