> From: Tom Rini <tr...@konsulko.com>
> Sent: Friday, May 16, 2025 1:31
> Subject: [PATCH v3 21/22] global: Avoid indirect inclusion of <env.h> from 
> <net.h>
>
> 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 <tr...@konsulko.com>
> ---
> Changes in v3:
> - New patch
>
> Cc: "Huan 'Kitty' Wang" <huanw...@gehealthcare.com>
> Cc: "Ying-Chun Liu (PaulLiu)" <paul....@linaro.org>
> Cc: Angus Ainslie <an...@akkea.ca> (supporter:PURISM LIBREM5 PHONE)
> Cc: Heinrich Schuchardt <xypron.g...@gmx.de>
> Cc: Ian Ray <ian....@gehealthcare.com>
> Cc: Ilias Apalodimas <ilias.apalodi...@linaro.org>
> Cc: Jan Kiszka <jan.kis...@siemens.com>
> Cc: Jerome Forissier <jerome.foriss...@linaro.org>
> Cc: Joe Hershberger <joe.hershber...@ni.com>
> Cc: Le Jin <le....@siemens.com>
> Cc: Martyn Welch <martyn.we...@collabora.com>
> Cc: Niel Fourie <lu...@denx.de>
> Cc: Ramon Fried <rfried....@gmail.com>
> Cc: Rick Chen <r...@andestech.com>
> Cc: Simon Glass <s...@chromium.org>
> Cc: Tim Harvey <thar...@gateworks.com>
> Cc: Wolfgang Wallner <wolfgang.wall...@br-automation.com>
> ---
>  board/BuR/brppt2/board.c                            | 1 +

For brppt2/board.c:
Reviewed-by: Wolfgang Wallner <wolfgang.wall...@br-automation.com>

>  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(+)
>
> diff --git a/board/BuR/brppt2/board.c b/board/BuR/brppt2/board.c
> index c0a163251b46..de206bdf1bc4 100644
> --- a/board/BuR/brppt2/board.c
> +++ b/board/BuR/brppt2/board.c
> @@ -7,6 +7,7 @@
>   *
>   */
>  #include <cpu_func.h>
> +#include <env.h>
>  #include <hang.h>
>  #include <init.h>
>  #include <spl.h>

Reply via email to