mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
committed by
Heinrich Schuchardt
parent
75a9d75041
commit
6b7a6210fd
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user