[PATCH] efi: Select also CMD_DHCP from EFI_HTTP_BOOT
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Tue Aug 19 16:45:47 CEST 2025
On 19.08.25 16:33, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka at siemens.com>
>
> This is needed because distro_efi_read_bootflow_net will then need
> dhcp_run which is not already enabled by CMD_NET.
>
> Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
> ---
> lib/efi_loader/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
> index c2aa88f59fb..a4055e1cb43 100644
> --- a/lib/efi_loader/Kconfig
> +++ b/lib/efi_loader/Kconfig
> @@ -564,6 +564,7 @@ config EFI_HTTP_BOOT
> bool "EFI HTTP Boot support"
> depends on NET || NET_LWIP
> select CMD_NET
> + select CMD_DHCP
It would be preferable to get rid of all CMD_* symbols here. They are
just the result of missing separation of CLI and library.
DHCP is not needed to boot via HTTP. You can manually set up a network
interface.
Please, change your patch to use "implies".
Best regards
Heinrich
> select CMD_DNS
> select CMD_WGET
> select BLKMAP
More information about the U-Boot
mailing list