On 2020.06.04 10:50, Ard Biesheuvel wrote:
Take advantage of a recent change to the core EDK2 BDS code that
makes boot options with the LOAD_OPTION_ACTIVE flag cleared visible
in the boot manager menu, so that they can be selected manually
while never being considered for automatic booting (unless selected
specifically via BootNext)

Signed-off-by: Ard Biesheuvel <ard.biesheu...@arm.com>
---
  Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBm.c 
b/Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBm.c
index 996ba8f39938..2bd625ad7e7c 100644
--- a/Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBm.c
+++ b/Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBm.c
@@ -460,7 +460,7 @@ PlatformRegisterOptionsAndKeys (
    RemoveStaleBootOptions ();

    ShellOption = PlatformRegisterFvBootOption (&gUefiShellFileGuid,

-                  L"UEFI Shell", LOAD_OPTION_CATEGORY_APP);

+                  L"UEFI Shell", 0);

    if (ShellOption != -1) {

      //

      // F1 boots Shell.


Reviewed-by: Pete Batard <p...@akeo.ie>

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#60723): https://edk2.groups.io/g/devel/message/60723
Mute This Topic: https://groups.io/mt/74668021/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to