AKASHI Takahiro b406eb04c3 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 <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-04-23 22:05:41 +02:00
..
2022-01-18 08:31:02 -05:00
2022-01-19 18:11:34 +01:00
2022-04-06 14:01:42 -04:00
2022-01-19 18:11:34 +01:00
2021-01-16 19:17:11 -05:00
2020-05-18 21:19:18 -04:00
2022-01-19 18:11:34 +01:00
2022-04-15 11:26:20 +02:00
2019-12-02 18:23:07 -05:00
2019-10-31 07:22:53 -04:00
2020-10-30 10:56:11 -04:00
2021-10-08 15:53:26 -04:00
2021-09-04 12:26:01 -04:00
2022-03-15 16:19:29 -04:00
2021-09-16 10:29:40 -04:00
2022-01-19 18:11:34 +01:00
2019-12-06 16:44:20 -05:00
2020-05-18 21:19:18 -04:00
2021-07-14 16:57:35 -04:00
2020-05-18 21:19:18 -04:00
2020-08-24 14:11:31 -04:00
2021-10-08 15:53:26 -04:00
2022-01-19 18:11:34 +01:00
2021-03-02 15:53:37 -05:00
2021-07-15 18:42:05 -04:00
2022-01-19 18:11:34 +01:00
2019-05-05 08:48:50 -04:00