aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-12-04 08:56:31 -0700
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2021-12-09 11:43:25 -0800
commit42b7f4212a1cb9aa6a5ca959d1f40b6f8465fd8c (patch)
tree6d48e123af6c3b71417081522e4046b8c077c7b9 /arch
parent2abd8d1c9920cbc02ecef284c86ffe14be743c2b (diff)
downloadu-boot-42b7f4212a1cb9aa6a5ca959d1f40b6f8465fd8c.zip
u-boot-42b7f4212a1cb9aa6a5ca959d1f40b6f8465fd8c.tar.gz
u-boot-42b7f4212a1cb9aa6a5ca959d1f40b6f8465fd8c.tar.bz2
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/sandbox/dts/test.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 8cd688e..2cea4a4 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -498,6 +498,10 @@
compatible = "sandbox,clk-ccf";
};
+ efi-media {
+ compatible = "sandbox,efi-media";
+ };
+
eth@10002000 {
compatible = "sandbox,eth";
reg = <0x10002000 0x1000>;