diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2022-04-28 13:49:16 +0900 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-04-29 14:25:40 +0200 |
commit | 6c640422baa46c5061efa5d2ff1b386bca72253c (patch) | |
tree | bd2f27a4eef563fa0ce22ebf4b5ca238b8410fa8 /lib/crypt/alg-sha256.h | |
parent | 8da26f51569aa3f9b6a0be49058399a0a036c14a (diff) |
efi_loader: disk: allow blk devices even without UCLASS_PARTITION
While GPT partition is mandated in UEFI specification, CONFIG_PARTITION is
seen optional under the current implementation.
So modify efi_disk_rw_blocks() to allow accepting UCLASS_BLK devices.
Fixes: commit d97e98c887ed ("efi_loader: disk: use udevice instead of blk_desc")
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Tested-by: Mark Kettenis <kettenis@openbsd.org>
Diffstat (limited to 'lib/crypt/alg-sha256.h')
0 files changed, 0 insertions, 0 deletions