]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit216fe3221cbe02933098b7cbcfcfce0087fb0298
treed220c45e31a3a4ea5ffa49e287d4574192310670
parent4050b0414e751b3932b36df7a69ed3d52ad796d7
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]