[RFC 18/22] efi_loader: efi_disk: a helper function to delete efi_disk objects

Simon Glass sjg at chromium.org
Sun Oct 10 16:14:27 CEST 2021


On Thu, 30 Sept 2021 at 23:04, AKASHI Takahiro
<takahiro.akashi at linaro.org> wrote:
>
> This function is expected to be called, in particular from dm's pre_remove
> hook, when associated block devices no longer exist.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> ---
>  include/efi_loader.h      |  2 ++
>  lib/efi_loader/efi_disk.c | 54 +++++++++++++++++++++++++++++++++++++++
>  2 files changed, 56 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>

Please add full function comments.


More information about the U-Boot mailing list