diff options
| author | Tom Rini <[email protected]> | 2022-04-23 18:42:00 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-04-23 18:42:00 -0400 |
| commit | 46a06ed82a81dfcb451fe82381c59c1d0a6667a1 (patch) | |
| tree | a4b23b20380a7850521338c5dfe5a5ab6ae47d09 /doc/develop | |
| parent | 9bb99fa95826d1a608737ca821977b4136a1a278 (diff) | |
| parent | d97e98c887ed8fa4a339350c02f093f03cd1cf4d (diff) | |
Merge tag 'efi-2022-07-rc1-3' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for efi-2022-07-rc1-3
Documentation:
* Document image size parameter of bootefi command
UEFI:
* avoid building partition support in SPL/TPL where not required
* improve integration of EFI subsystem and driver model
* restore ability to boot arbitrary blob
Diffstat (limited to 'doc/develop')
| -rw-r--r-- | doc/develop/driver-model/design.rst | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/develop/driver-model/design.rst b/doc/develop/driver-model/design.rst index b0e6337030a..5f33f9fbb32 100644 --- a/doc/develop/driver-model/design.rst +++ b/doc/develop/driver-model/design.rst @@ -1042,6 +1042,27 @@ data structure might be worthwhile in some rare cases, once we understand what the bottlenecks are. +Tag Support +----------- + +It is sometimes useful for a subsystem to associate its own private +data (or object) to a DM device, i.e. struct udevice, to support +additional features. + +Tag support in driver model will give us the ability to do so dynamically +instead of modifying "udevice" data structure. In the initial release, we +will support two type of attributes: + +- a pointer with dm_tag_set_ptr(), and +- an unsigned long with dm_tag_set_val() + +For example, UEFI subsystem utilizes the feature to maintain efi_disk +objects depending on linked udevice's lifecycle. + +While the current implementation is quite simple, it will get evolved +as the feature is more extensively used in U-Boot subsystems. + + Changes since v1 ---------------- |
