diff options
| author | AKASHI Takahiro <[email protected]> | 2022-04-19 10:05:14 +0900 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2022-04-23 22:05:41 +0200 |
| commit | b406eb04c360b4842a02bcfedd9bbee015c3d127 (patch) | |
| tree | 9a2b9fb7689639f7f3158e9be8ad35b8e30eb41f /doc/develop/bootstd.rst | |
| parent | 3c809dfed757c37b92ff543c8f1c941407bafc2e (diff) | |
efi_loader: disk: a helper function to delete efi_disk objects
This function is expected to be called, in particular from dm's pre_remove
hook, when associated block devices no longer exist.
Add efi_disk_remove() function.
This function removes an efi_disk object for a raw disk device (UCLASS_BLK)
and related objects for its partitions (UCLASS_PARTITION).
So this function is expected to be called through driver model's "remove"
interface every time a raw disk device is to be disconnected.
Signed-off-by: AKASHI Takahiro <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'doc/develop/bootstd.rst')
0 files changed, 0 insertions, 0 deletions
