dm: add tag support
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 8 Mar 2022 11:36:46 +0000 (20:36 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 9 Apr 2022 19:06:31 +0000 (21:06 +0200)
commit6b7a6210fde96bb95c8168af4ebf4eb83401df9e
treed220c45e31a3a4ea5ffa49e287d4574192310670
parent75a9d7504180f01abb3f63ee894476f457c6dbb5
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>
drivers/core/Makefile
drivers/core/root.c
drivers/core/tag.c [new file with mode: 0644]
include/asm-generic/global_data.h
include/dm/tag.h [new file with mode: 0644]