]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: fix CONFIG_EFI_HTTP dependencies
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 19 Oct 2024 10:59:57 +0000 (12:59 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 30 Oct 2024 13:54:28 +0000 (14:54 +0100)
CONFIG_CMD_DNS and CONFIG_CMD_WGET depend on CONFIG_CMD_NET.
CONFIG_CMD_NET depends on CONFIG_NET or CONFIG_NET_LWIP.

We shall only enable CONFIG_EFI_HTTP if there is network support.
We have to select CONFIG_CMD_NET.

Fixes: d7d07a8b508b ("efi_loader: support boot from URI device path")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/Kconfig

index 69b2c9360d8f9ef78e2012d1aa5d3f749e5d512d..066f0ca0da7b2fee3615514a945ed40229045fb5 100644 (file)
@@ -545,6 +545,8 @@ config EFI_BOOTMGR
 
 config EFI_HTTP_BOOT
        bool "EFI HTTP Boot support"
+       depends on NET || NET_LWIP
+       select CMD_NET
        select CMD_DNS
        select CMD_WGET
        select BLKMAP