summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2022-03-08 14:36:46 +0300
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-04-09 22:06:31 +0300
commit6b7a6210fde96bb95c8168af4ebf4eb83401df9e (patch)
treed220c45e31a3a4ea5ffa49e287d4574192310670 /include/asm-generic
parent75a9d7504180f01abb3f63ee894476f457c6dbb5 (diff)
downloadu-boot-6b7a6210fde96bb95c8168af4ebf4eb83401df9e.tar.xz
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 <takahiro.akashi@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/global_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index beb8bb90a6..805a6fd679 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -474,6 +474,10 @@ struct global_data {
*/
struct event_state event_state;
#endif
+ /**
+ * @dmtag_list: List of DM tags
+ */
+ struct list_head dmtag_list;
};
#ifndef DO_DEPS_ONLY
static_assert(sizeof(struct global_data) == GD_SIZE);