[edk2-devel] [PATCH edk2-platforms 2/3] Platform/RaspberryPi: add UEFI Shell to boot manager menu
Pete Batard
pete at akeo.ie
Thu Jun 4 12:27:14 UTC 2020
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.biesheuvel at 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 <pete at 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/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list