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>
This commit is contained in:

committed by
Heinrich Schuchardt

parent
2abd8d1c99
commit
42b7f4212a
@@ -49,6 +49,7 @@ enum uclass_id {
|
||||
UCLASS_DSA, /* Distributed (Ethernet) Switch Architecture */
|
||||
UCLASS_ECDSA, /* Elliptic curve cryptographic device */
|
||||
UCLASS_EFI_LOADER, /* Devices created by UEFI applications */
|
||||
UCLASS_EFI_MEDIA, /* Devices provided by UEFI firmware */
|
||||
UCLASS_ETH, /* Ethernet device */
|
||||
UCLASS_ETH_PHY, /* Ethernet PHY device */
|
||||
UCLASS_FIRMWARE, /* Firmware */
|
||||
|
Reference in New Issue
Block a user