[RFC v2 18/20] efi_loader: disk: use udevice instead of blk_desc

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


On Thu, 9 Dec 2021 at 23:58, AKASHI Takahiro <takahiro.akashi at linaro.org> wrote:
>
> In most of all cases, we can avoid using blk_desc which is expected
> to be private to udevice(UCLASS_BLK), that is, the data should not
> be manupulated outside the device driver unless really needed.
>
> Now efi_disk's internally use dev_read/write() interfaces.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> ---
>  lib/efi_loader/efi_disk.c | 25 ++++++++++++-------------
>  1 file changed, 12 insertions(+), 13 deletions(-)

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


More information about the U-Boot mailing list