]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi: Add uclass for devices provided by UEFI firmware
authorSimon Glass <sjg@chromium.org>
Sat, 4 Dec 2021 15:56:31 +0000 (08:56 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 9 Dec 2021 19:43:25 +0000 (11:43 -0800)
commit42b7f4212a1cb9aa6a5ca959d1f40b6f8465fd8c
tree6d48e123af6c3b71417081522e4046b8c077c7b9
parent2abd8d1c9920cbc02ecef284c86ffe14be743c2b
efi: Add uclass for devices provided by UEFI firmware

UCLASS_EFI_LOADER is used for devices created by applications and
drivers loaded by U-Boots UEFI implementation.

This patch provides a new uclass (UCLASS_EFI_MEDIA) to be used for devices
that provided by a UEFI firmware calling U-Boot as an EFI application.

If the two uclasses can be unified, is left to future redesign.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
12 files changed:
MAINTAINERS
arch/sandbox/dts/test.dts
disk/part.c
drivers/block/Kconfig
drivers/block/Makefile
drivers/block/blk-uclass.c
drivers/block/efi-media-uclass.c [new file with mode: 0644]
drivers/block/sb_efi_media.c [new file with mode: 0644]
include/blk.h
include/dm/uclass-id.h
test/dm/Makefile
test/dm/efi_media.c [new file with mode: 0644]