[PATCH v3 21/22] global: Avoid indirect inclusion of <env.h> from <net.h>
Jerome Forissier
jerome.forissier at linaro.org
Fri May 16 14:48:15 CEST 2025
On 5/16/25 00:31, Tom Rini wrote:
> Now that env_get_ip() has been removed, the include file <net.h> does
> not need anything from <env.h>. Furthermore, include/env.h itself
> includes other headers which can lead to longer indirect inclusion
> paths. To prepare to remove <env.h> from <net.h> fix all of the
> remaining places which had relied on this indirect inclusion to instead
> include <env.h> directly.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Changes in v3:
> - New patch
>
> Cc: "Huan 'Kitty' Wang" <HuanWang at gehealthcare.com>
> Cc: "Ying-Chun Liu (PaulLiu)" <paul.liu at linaro.org>
> Cc: Angus Ainslie <angus at akkea.ca> (supporter:PURISM LIBREM5 PHONE)
> Cc: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Cc: Ian Ray <ian.ray at gehealthcare.com>
> Cc: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> Cc: Jan Kiszka <jan.kiszka at siemens.com>
> Cc: Jerome Forissier <jerome.forissier at linaro.org>
> Cc: Joe Hershberger <joe.hershberger at ni.com>
> Cc: Le Jin <le.jin at siemens.com>
> Cc: Martyn Welch <martyn.welch at collabora.com>
> Cc: Niel Fourie <lusus at denx.de>
> Cc: Ramon Fried <rfried.dev at gmail.com>
> Cc: Rick Chen <rick at andestech.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tim Harvey <tharvey at gateworks.com>
> Cc: Wolfgang Wallner <wolfgang.wallner at br-automation.com>
> ---
> board/BuR/brppt2/board.c | 1 +
> board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c | 1 +
> board/andestech/ae350/ae350.c | 1 +
> board/data_modul/common/common.c | 1 +
> board/gateworks/gw_ventana/gw_ventana.c | 1 +
> board/ge/b1x5v2/b1x5v2.c | 1 +
> board/keymile/kmcent2/kmcent2.c | 1 +
> board/purism/librem5/librem5.c | 1 +
> board/siemens/iot2050/board.c | 1 +
> board/ti/j721e/evm.c | 1 +
> boot/bootmeth_efi.c | 1 +
> boot/bootmeth_pxe.c | 1 +
> cmd/pxe.c | 1 +
> drivers/net/pfe_eth/pfe_firmware.c | 1 +
> lib/efi_loader/efi_bootmgr.c | 1 +
> lib/efi_loader/efi_net.c | 1 +
> net/lwip/dhcp.c | 1 +
> net/lwip/dns.c | 1 +
> net/lwip/net-lwip.c | 1 +
> net/lwip/tftp.c | 1 +
> net/lwip/wget.c | 1 +
> test/dm/dsa.c | 1 +
> 22 files changed, 22 insertions(+)
Reviewed-by: Jerome Forissier <jerome.forissier at linaro.org> # net/lwip
More information about the U-Boot
mailing list