]> git.ipfire.org Git - thirdparty/u-boot.git/commit
efi_loader: disk: add EFI_PARTITION_INFO_PROTOCOL support
authorJavier Martinez Canillas <javierm@redhat.com>
Thu, 19 Jun 2025 08:34:01 +0000 (10:34 +0200)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Thu, 3 Jul 2025 08:32:49 +0000 (11:32 +0300)
commit2fdfb802e30a1fbd65a830a283d7bd87631f08c0
tree62a35306062bfdea36b71ecdffc9856914c1e221
parentf517d93842ad733d8df485d8255a3649c8ac517a
efi_loader: disk: add EFI_PARTITION_INFO_PROTOCOL support

The UEFI 2.10 specification mentions that this protocol shall be installed
along with EFI_BLOCK_IO_PROTOCOL. It provides cached partition information
for MBR and GPT partition types.

This patch just implements support for GPT partition types. The legacy MBR
partition types is only needed for backward compatibility and can be added
as a follow-up if needed, to make it fully compliant with the EFI spec.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/part_efi.h
lib/efi_loader/efi_disk.c