[RFC v2 20/20] efi_driver: align with efi_disk-dm integration

Simon Glass sjg at chromium.org
Mon Dec 13 13:51:51 CET 2021


On Fri, 10 Dec 2021 at 00:19, AKASHI Takahiro
<takahiro.akashi at linaro.org> wrote:
>
> With DM-efi_disk integration, we don't need to explicitly call
> efi_disk_create_partitions().
>
> The only thing to do is to associate an efi_disk object to
> the corresponding udevice as we skip most of processing in
> efi_disk_probe() by the previous commit ("efi_loader: disk: not create
> BLK device for BLK(IF_TYPE_EFI) devices").
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> ---
>  lib/efi_driver/efi_block_device.c | 34 +++++++++----------------------
>  1 file changed, 10 insertions(+), 24 deletions(-)

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


More information about the U-Boot mailing list