From: "Ard Biesheuvel" <ardb@kernel.org>
To: Jeff Brasen <jbrasen@nvidia.com>
Cc: devel@edk2.groups.io, gaoliming@byosoft.com.cn,
jian.j.wang@intel.com, zhichao.gao@intel.com, ray.ni@intel.com
Subject: Re: [PATCH v2] MdeModulePkg/UefiBootManagerLib: Add Disk Info support for Ufs
Date: Thu, 6 Oct 2022 19:39:24 +0200 [thread overview]
Message-ID: <CAMj1kXHA7LQM-rme9US2u1keqPRpr=Dhhc41uNRGKzegNQ3OvQ@mail.gmail.com> (raw)
In-Reply-To: <5fe03c70ba8a5937210bab6ff10ff2cf6b72ff12.1665067370.git.jbrasen@nvidia.com>
Merged #3447 into master.
On Thu, 6 Oct 2022 at 16:44, Jeff Brasen <jbrasen@nvidia.com> wrote:
>
> Add support for getting disk info from UFS devices.
>
> Signed-off-by: Jeff Brasen <jbrasen@nvidia.com>
> ---
> MdeModulePkg/Library/UefiBootManagerLib/BmBootDescription.c | 4 +++-
> .../Library/UefiBootManagerLib/UefiBootManagerLib.inf | 1 +
> 2 files changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmBootDescription.c b/MdeModulePkg/Library/UefiBootManagerLib/BmBootDescription.c
> index fac33b9ee9..030b2ee3ec 100644
> --- a/MdeModulePkg/Library/UefiBootManagerLib/BmBootDescription.c
> +++ b/MdeModulePkg/Library/UefiBootManagerLib/BmBootDescription.c
> @@ -195,7 +195,9 @@ BmGetDescriptionFromDiskInfo (
>
> BmEliminateExtraSpaces (Description);
> }
> - } else if (CompareGuid (&DiskInfo->Interface, &gEfiDiskInfoScsiInterfaceGuid)) {
> + } else if (CompareGuid (&DiskInfo->Interface, &gEfiDiskInfoScsiInterfaceGuid) ||
> + CompareGuid (&DiskInfo->Interface, &gEfiDiskInfoUfsInterfaceGuid))
> + {
> BufferSize = sizeof (EFI_SCSI_INQUIRY_DATA);
> Status = DiskInfo->Inquiry (
> DiskInfo,
> diff --git a/MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf b/MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
> index fe05d5f1cc..2fc0a80a4e 100644
> --- a/MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
> +++ b/MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
> @@ -85,6 +85,7 @@
> gEfiDiskInfoIdeInterfaceGuid ## SOMETIMES_CONSUMES ## GUID
> gEfiDiskInfoScsiInterfaceGuid ## SOMETIMES_CONSUMES ## GUID
> gEfiDiskInfoSdMmcInterfaceGuid ## SOMETIMES_CONSUMES ## GUID
> + gEfiDiskInfoUfsInterfaceGuid ## SOMETIMES_CONSUMES ## GUID
>
> [Protocols]
> gEfiPciRootBridgeIoProtocolGuid ## CONSUMES
> --
> 2.25.1
>
prev parent reply other threads:[~2022-10-06 17:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-06 14:44 [PATCH v2] MdeModulePkg/UefiBootManagerLib: Add Disk Info support for Ufs Jeff Brasen
2022-10-06 17:39 ` Ard Biesheuvel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAMj1kXHA7LQM-rme9US2u1keqPRpr=Dhhc41uNRGKzegNQ3OvQ@mail.gmail.com' \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox