From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web12.10296.1591264221538527158 for ; Thu, 04 Jun 2020 02:50:21 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ard.biesheuvel@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 36EE5101E; Thu, 4 Jun 2020 02:50:21 -0700 (PDT) Received: from localhost.localdomain (unknown [10.37.8.209]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 760653F6CF; Thu, 4 Jun 2020 02:50:19 -0700 (PDT) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Jared McNeill , Andrei Warkentin , Samer El-Haj-Mahmoud , Leif Lindholm , Pete Batard , Jeremy Linton Subject: [PATCH edk2-platforms 2/3] Platform/RaspberryPi: add UEFI Shell to boot manager menu Date: Thu, 4 Jun 2020 11:50:06 +0200 Message-Id: <20200604095007.45693-3-ard.biesheuvel@arm.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200604095007.45693-1-ard.biesheuvel@arm.com> References: <20200604095007.45693-1-ard.biesheuvel@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 --- 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 ();=0D =0D ShellOption =3D PlatformRegisterFvBootOption (&gUefiShellFileGuid,=0D - L"UEFI Shell", LOAD_OPTION_CATEGORY_APP);=0D + L"UEFI Shell", 0);=0D if (ShellOption !=3D -1) {=0D //=0D // F1 boots Shell.=0D --=20 2.26.2