From: Heinrich Schuchardt <xypron.glpk@gmx.de>
Date: Tue, 7 Sep 2021 06:56:47 +0000 (+0200)
Subject: efi_loader: require CONFIG_BLK
X-Git-Tag: v2025.01-rc5-pxa1908~1721^2~3
X-Git-Url: http://git.dujemihanovic.xyz/contact?a=commitdiff_plain;h=6919619f9cf441290286365c14ed557ad1776886;p=u-boot.git

efi_loader: require CONFIG_BLK

The move to driver model should by now be completed. To be able to remove
pre-driver model code from our block IO code require CONFIG_BLK=y for UEFI
support.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---

diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index 08463251cd..f4e9129a39 100644
--- a/lib/efi_loader/Kconfig
+++ b/lib/efi_loader/Kconfig
@@ -10,6 +10,7 @@ config EFI_LOADER
 	depends on !EFI_STUB || !X86_64 || EFI_STUB_64BIT
 	# We need EFI_STUB_32BIT to be set on x86_32 with EFI_STUB
 	depends on !EFI_STUB || !X86 || X86_64 || EFI_STUB_32BIT
+	depends on BLK
 	default y if !ARM || SYS_CPU = armv7 || SYS_CPU = armv8
 	select LIB_UUID
 	select PARTITION_UUIDS