mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-06 23:36:59 +02:00
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. Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> # net/lwip Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by: Martyn Welch <martyn.welch@collabora.com> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
183d88cdfc
commit
ae9ff5ae6f
@ -7,6 +7,7 @@
|
||||
*
|
||||
*/
|
||||
#include <cpu_func.h>
|
||||
#include <env.h>
|
||||
#include <hang.h>
|
||||
#include <init.h>
|
||||
#include <spl.h>
|
||||
|
@ -7,6 +7,7 @@
|
||||
#include <dwc3-uboot.h>
|
||||
#include <efi.h>
|
||||
#include <efi_loader.h>
|
||||
#include <env.h>
|
||||
#include <errno.h>
|
||||
#include <miiphy.h>
|
||||
#include <netdev.h>
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include <cpu_func.h>
|
||||
#include <env.h>
|
||||
#include <flash.h>
|
||||
#include <image.h>
|
||||
#include <init.h>
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <asm/mach-imx/boot_mode.h>
|
||||
#include <asm/mach-imx/iomux-v3.h>
|
||||
#include <dm/uclass.h>
|
||||
#include <env.h>
|
||||
#include <hang.h>
|
||||
#include <i2c_eeprom.h>
|
||||
#include <image.h>
|
||||
|
@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <fdt_support.h>
|
||||
#include <gsc.h>
|
||||
#include <hwconfig.h>
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/mach-imx/video.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <i2c.h>
|
||||
#include <input.h>
|
||||
#include <ipu_pixfmt.h>
|
||||
|
@ -6,6 +6,7 @@
|
||||
* Copyright 2013 Freescale Semiconductor, Inc.
|
||||
*/
|
||||
|
||||
#include <env.h>
|
||||
#include <event.h>
|
||||
#include <asm/cache.h>
|
||||
#include <asm/fsl_fdt.h>
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
#include <malloc.h>
|
||||
#include <errno.h>
|
||||
#include <env.h>
|
||||
#include <asm/io.h>
|
||||
#include <miiphy.h>
|
||||
#include <asm/mach-imx/iomux-v3.h>
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <config.h>
|
||||
#include <bootstage.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <fdt_support.h>
|
||||
#include <i2c.h>
|
||||
#include <led.h>
|
||||
|
@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
#include <efi_loader.h>
|
||||
#include <env.h>
|
||||
#include <generic-phy.h>
|
||||
#include <image.h>
|
||||
#include <net.h>
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include <dm.h>
|
||||
#include <efi.h>
|
||||
#include <efi_loader.h>
|
||||
#include <env.h>
|
||||
#include <fs.h>
|
||||
#include <malloc.h>
|
||||
#include <mapmem.h>
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <bootmeth.h>
|
||||
#include <command.h>
|
||||
#include <dm.h>
|
||||
#include <env.h>
|
||||
#include <extlinux.h>
|
||||
#include <fs.h>
|
||||
#include <log.h>
|
||||
|
@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <fs.h>
|
||||
#include <net.h>
|
||||
#include <net6.h>
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
#include <dm.h>
|
||||
#include <dm/device-internal.h>
|
||||
#include <env.h>
|
||||
#include <image.h>
|
||||
#include <log.h>
|
||||
#include <malloc.h>
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <charset.h>
|
||||
#include <dm.h>
|
||||
#include <efi.h>
|
||||
#include <env.h>
|
||||
#include <log.h>
|
||||
#include <malloc.h>
|
||||
#include <net.h>
|
||||
|
@ -18,6 +18,7 @@
|
||||
#define LOG_CATEGORY LOGC_EFI
|
||||
|
||||
#include <efi_loader.h>
|
||||
#include <env.h>
|
||||
#include <dm.h>
|
||||
#include <linux/sizes.h>
|
||||
#include <malloc.h>
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
#include <command.h>
|
||||
#include <console.h>
|
||||
#include <env.h>
|
||||
#include <log.h>
|
||||
#include <dm/device.h>
|
||||
#include <linux/delay.h>
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
#include <command.h>
|
||||
#include <console.h>
|
||||
#include <env.h>
|
||||
#include <lwip/dns.h>
|
||||
#include <lwip/timeouts.h>
|
||||
#include <net.h>
|
||||
|
@ -3,6 +3,7 @@
|
||||
/* Copyright (C) 2024 Linaro Ltd. */
|
||||
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <dm/device.h>
|
||||
#include <dm/uclass.h>
|
||||
#include <hexdump.h>
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <display_options.h>
|
||||
#include <dm/device.h>
|
||||
#include <efi_loader.h>
|
||||
#include <env.h>
|
||||
#include <image.h>
|
||||
#include <linux/delay.h>
|
||||
#include <lwip/apps/tftp_client.h>
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <console.h>
|
||||
#include <display_options.h>
|
||||
#include <efi_loader.h>
|
||||
#include <env.h>
|
||||
#include <image.h>
|
||||
#include <lwip/apps/http_client.h>
|
||||
#include "lwip/altcp_tls.h"
|
||||
|
@ -3,6 +3,7 @@
|
||||
* Copyright 2020-2021 NXP
|
||||
*/
|
||||
|
||||
#include <env.h>
|
||||
#include <net/dsa.h>
|
||||
#include <dm/test.h>
|
||||
#include <test/ut.h>
|
||||
|
Loading…
Reference in New Issue
Block a user