u-boot/lib/efi_driver
Masahisa Kojima 06fc19ca4d efi_driver: fix duplicate efiblk#0 issue
The devnum value of the blk_desc structure starts from 0,
current efi_bl_create_block_device() function creates
two "efiblk#0" devices for the cases that blk_find_max_devnum()
returns -ENODEV and blk_find_max_devnum() returns 0(one device
found in this case).

This commit uses blk_next_free_devnum() instead of blk_find_max_devnum().

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2023-07-20 09:12:50 +02:00
..
efi_block_device.c efi_driver: fix duplicate efiblk#0 issue 2023-07-20 09:12:50 +02:00
efi_uclass.c efi_driver: use efi_close_protocol 2022-10-10 16:34:26 +02:00
Makefile efi_loader: Drop code that doesn't work with driver model 2021-10-21 03:46:03 +02:00