From 6b7a6210fde96bb95c8168af4ebf4eb83401df9e Mon Sep 17 00:00:00 2001 From: AKASHI Takahiro Date: Tue, 8 Mar 2022 20:36:46 +0900 Subject: dm: add tag support With dm-tag feature, any U-Boot subsystem is allowed to associate arbitrary number of data with a particular udevice. This can been see as expanding "struct udevice" without modifying the definition. As a first user, UEFI subsystem makes use of tags to associate an efi_disk object with a block device. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass --- drivers/core/root.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/core/root.c') diff --git a/drivers/core/root.c b/drivers/core/root.c index 8efb4256b27..86b3884fc67 100644 --- a/drivers/core/root.c +++ b/drivers/core/root.c @@ -199,6 +199,8 @@ int dm_init(bool of_live) return ret; } + INIT_LIST_HEAD((struct list_head *)&gd->dmtag_list); + return 0; } -- cgit v1.2.3