efi_loader: Depend on BLK
authorTom Rini <trini@konsulko.com>
Wed, 15 Jan 2025 01:22:10 +0000 (19:22 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 21 Jan 2025 01:26:54 +0000 (19:26 -0600)
commitaad58634595eca4792ff6c5612c2da6719d529bf
treeab535b3ea9d8dc4450067219e4cdc6a855a270d7
parent0569ca68561e87ba513f2e4b57e398fa8b6518d0
efi_loader: Depend on BLK

In reworking the BLK usage in Kconfig, I found there's a few issues with
EFI_LOADER=y and BLK=n. In general, we can easily say that
lib/efi_loader/efi_file.c also should only be built with CONFIG_BLK.
That however leaves the bootmgr code, eficonfig code and then parts of
efi_device_path.c, efi_boottime.c and efi_setup.c which functionally
depend on BLK. While these calls can be if'd out, I'm unsure if the
result is usable. So rather than leave that buildable and imply that it
is, I'm leaving that combination non-buildable and commenting that
EFI_LOADER depends on BLK in the Kconfig currently.

Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
lib/efi_loader/Kconfig