Message ID | 20200409141439.v2.5.Ic0bb76a28ab4608603c9b1b726d6e5761b8c9e68@changeid |
---|---|
State | Superseded |
Headers | show |
Series | common: Further reduce the size of common.h | expand |
diff --git a/arch/arm/cpu/arm11/cpu.c b/arch/arm/cpu/arm11/cpu.c index 177d1f40b93..ffe35111d58 100644 --- a/arch/arm/cpu/arm11/cpu.c +++ b/arch/arm/cpu/arm11/cpu.c @@ -18,6 +18,7 @@ #include <command.h> #include <cpu_func.h> #include <irq_func.h> +#include <asm/cache.h> #include <asm/system.h> static void cache_flush(void); diff --git a/arch/arm/cpu/arm1136/mx35/generic.c b/arch/arm/cpu/arm1136/mx35/generic.c index 45bf49b5ac7..c78f2cbfc93 100644 --- a/arch/arm/cpu/arm1136/mx35/generic.c +++ b/arch/arm/cpu/arm1136/mx35/generic.c @@ -9,6 +9,7 @@ #include <common.h> #include <clock_legacy.h> #include <div64.h> +#include <net.h> #include <asm/io.h> #include <linux/errno.h> #include <asm/arch/imx-regs.h> diff --git a/arch/arm/cpu/arm926ejs/cache.c b/arch/arm/cpu/arm926ejs/cache.c index 7b7eaaf31df..acab9bccc01 100644 --- a/arch/arm/cpu/arm926ejs/cache.c +++ b/arch/arm/cpu/arm926ejs/cache.c @@ -4,6 +4,7 @@ * Ilya Yanok, EmCraft Systems */ #include <cpu_func.h> +#include <asm/cache.h> #include <linux/types.h> #include <common.h> diff --git a/arch/arm/cpu/arm926ejs/cpu.c b/arch/arm/cpu/arm926ejs/cpu.c index 6ab320da7d9..93d7a02ed4c 100644 --- a/arch/arm/cpu/arm926ejs/cpu.c +++ b/arch/arm/cpu/arm926ejs/cpu.c @@ -16,6 +16,7 @@ #include <command.h> #include <cpu_func.h> #include <irq_func.h> +#include <asm/cache.h> #include <asm/system.h> static void cache_flush(void); diff --git a/arch/arm/cpu/arm926ejs/lpc32xx/cpu.c b/arch/arm/cpu/arm926ejs/lpc32xx/cpu.c index 4c59a44f7e6..2bc3513abfa 100644 --- a/arch/arm/cpu/arm926ejs/lpc32xx/cpu.c +++ b/arch/arm/cpu/arm926ejs/lpc32xx/cpu.c @@ -5,6 +5,7 @@ #include <common.h> #include <cpu_func.h> +#include <net.h> #include <netdev.h> #include <asm/arch/cpu.h> #include <asm/arch/clk.h> diff --git a/arch/arm/cpu/arm926ejs/mx25/generic.c b/arch/arm/cpu/arm926ejs/mx25/generic.c index 09bda0e3398..ef8d2d202d5 100644 --- a/arch/arm/cpu/arm926ejs/mx25/generic.c +++ b/arch/arm/cpu/arm926ejs/mx25/generic.c @@ -11,6 +11,7 @@ #include <common.h> #include <clock_legacy.h> #include <div64.h> +#include <net.h> #include <netdev.h> #include <vsprintf.h> #include <asm/io.h> diff --git a/arch/arm/cpu/arm926ejs/mx27/generic.c b/arch/arm/cpu/arm926ejs/mx27/generic.c index 9bed0e91bea..a003ab816a0 100644 --- a/arch/arm/cpu/arm926ejs/mx27/generic.c +++ b/arch/arm/cpu/arm926ejs/mx27/generic.c @@ -6,6 +6,7 @@ #include <common.h> #include <div64.h> +#include <net.h> #include <netdev.h> #include <vsprintf.h> #include <asm/io.h> diff --git a/arch/arm/cpu/arm926ejs/mxs/mxs.c b/arch/arm/cpu/arm926ejs/mxs/mxs.c index 16c080a1e15..f65053c4b65 100644 --- a/arch/arm/cpu/arm926ejs/mxs/mxs.c +++ b/arch/arm/cpu/arm926ejs/mxs/mxs.c @@ -12,6 +12,7 @@ #include <common.h> #include <cpu_func.h> #include <hang.h> +#include <net.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/arch/clock.h> diff --git a/arch/arm/cpu/armv7/cache_v7.c b/arch/arm/cpu/armv7/cache_v7.c index 99eb7db3426..146cf526089 100644 --- a/arch/arm/cpu/armv7/cache_v7.c +++ b/arch/arm/cpu/armv7/cache_v7.c @@ -5,6 +5,7 @@ * Aneesh V <aneesh at ti.com> */ #include <cpu_func.h> +#include <asm/cache.h> #include <linux/types.h> #include <common.h> #include <asm/armv7.h> diff --git a/arch/arm/cpu/armv7/iproc-common/hwinit-common.c b/arch/arm/cpu/armv7/iproc-common/hwinit-common.c index a5445338cb7..896d2f95694 100644 --- a/arch/arm/cpu/armv7/iproc-common/hwinit-common.c +++ b/arch/arm/cpu/armv7/iproc-common/hwinit-common.c @@ -5,6 +5,7 @@ #include <common.h> #include <cpu_func.h> +#include <asm/cache.h> #if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF) void enable_caches(void) diff --git a/arch/arm/cpu/armv7/kona-common/hwinit-common.c b/arch/arm/cpu/armv7/kona-common/hwinit-common.c index 6bf89e07d87..cfc7c9fbc64 100644 --- a/arch/arm/cpu/armv7/kona-common/hwinit-common.c +++ b/arch/arm/cpu/armv7/kona-common/hwinit-common.c @@ -5,6 +5,7 @@ #include <common.h> #include <cpu_func.h> +#include <asm/cache.h> #include <linux/sizes.h> #if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF) diff --git a/arch/arm/cpu/armv7/ls102xa/cpu.c b/arch/arm/cpu/armv7/ls102xa/cpu.c index 664c9c1f4de..c544f38641b 100644 --- a/arch/arm/cpu/armv7/ls102xa/cpu.c +++ b/arch/arm/cpu/armv7/ls102xa/cpu.c @@ -5,6 +5,7 @@ #include <common.h> #include <cpu_func.h> +#include <net.h> #include <vsprintf.h> #include <asm/arch/clock.h> #include <asm/io.h> diff --git a/arch/arm/cpu/armv7/ls102xa/fdt.c b/arch/arm/cpu/armv7/ls102xa/fdt.c index 16ab8676fe4..56ca7b01641 100644 --- a/arch/arm/cpu/armv7/ls102xa/fdt.c +++ b/arch/arm/cpu/armv7/ls102xa/fdt.c @@ -5,6 +5,7 @@ #include <common.h> #include <clock_legacy.h> +#include <net.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <asm/io.h> diff --git a/arch/arm/cpu/armv7/sunxi/psci.c b/arch/arm/cpu/armv7/sunxi/psci.c index 2c5d99e9acd..1ac50f558a4 100644 --- a/arch/arm/cpu/armv7/sunxi/psci.c +++ b/arch/arm/cpu/armv7/sunxi/psci.c @@ -8,6 +8,7 @@ */ #include <config.h> #include <common.h> +#include <asm/cache.h> #include <asm/arch/cpu.h> #include <asm/arch/cpucfg.h> diff --git a/arch/arm/cpu/armv7/vf610/generic.c b/arch/arm/cpu/armv7/vf610/generic.c index 6698b821d0e..c1ba69893fe 100644 --- a/arch/arm/cpu/armv7/vf610/generic.c +++ b/arch/arm/cpu/armv7/vf610/generic.c @@ -6,6 +6,8 @@ #include <common.h> #include <clock_legacy.h> #include <cpu_func.h> +#include <net.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> #include <asm/arch/clock.h> diff --git a/arch/arm/cpu/armv7/virt-v7.c b/arch/arm/cpu/armv7/virt-v7.c index 26c93393cd7..5ffeca13d91 100644 --- a/arch/arm/cpu/armv7/virt-v7.c +++ b/arch/arm/cpu/armv7/virt-v7.c @@ -11,6 +11,7 @@ #include <common.h> #include <cpu_func.h> #include <asm/armv7.h> +#include <asm/cache.h> #include <asm/gic.h> #include <asm/io.h> #include <asm/secure.h> diff --git a/arch/arm/cpu/armv7m/cache.c b/arch/arm/cpu/armv7m/cache.c index 73536985579..f607b77d41d 100644 --- a/arch/arm/cpu/armv7m/cache.c +++ b/arch/arm/cpu/armv7m/cache.c @@ -8,6 +8,7 @@ #include <cpu_func.h> #include <errno.h> #include <asm/armv7m.h> +#include <asm/cache.h> #include <asm/io.h> /* Cache maintenance operation registers */ diff --git a/arch/arm/cpu/armv8/cache_v8.c b/arch/arm/cpu/armv8/cache_v8.c index 6a5518f9de8..a64bc1bde22 100644 --- a/arch/arm/cpu/armv8/cache_v8.c +++ b/arch/arm/cpu/armv8/cache_v8.c @@ -10,6 +10,7 @@ #include <common.h> #include <cpu_func.h> #include <hang.h> +#include <asm/cache.h> #include <asm/system.h> #include <asm/armv8/mmu.h> diff --git a/arch/arm/cpu/armv8/cpu-dt.c b/arch/arm/cpu/armv8/cpu-dt.c index 267abb83e8f..97d4473a686 100644 --- a/arch/arm/cpu/armv8/cpu-dt.c +++ b/arch/arm/cpu/armv8/cpu-dt.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <asm/cache.h> #include <asm/psci.h> #include <asm/system.h> #include <asm/armv8/sec_firmware.h> diff --git a/arch/arm/cpu/armv8/cpu.c b/arch/arm/cpu/armv8/cpu.c index 35752037bcf..ea40c55dd2c 100644 --- a/arch/arm/cpu/armv8/cpu.c +++ b/arch/arm/cpu/armv8/cpu.c @@ -14,6 +14,7 @@ #include <command.h> #include <cpu_func.h> #include <irq_func.h> +#include <asm/cache.h> #include <asm/system.h> #include <asm/secure.h> #include <linux/compiler.h> diff --git a/arch/arm/cpu/armv8/exception_level.c b/arch/arm/cpu/armv8/exception_level.c index 9c1f4a8ca8b..10dd034c7b4 100644 --- a/arch/arm/cpu/armv8/exception_level.c +++ b/arch/arm/cpu/armv8/exception_level.c @@ -11,6 +11,7 @@ #include <common.h> #include <bootm.h> #include <cpu_func.h> +#include <asm/cache.h> #include <asm/setjmp.h> /** diff --git a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c index b4438944536..6102fe1b55a 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c @@ -10,7 +10,9 @@ #include <fsl_ddr_sdram.h> #include <init.h> #include <hang.h> +#include <net.h> #include <vsprintf.h> +#include <asm/cache.h> #include <asm/io.h> #include <linux/errno.h> #include <asm/system.h> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c index 87c3e05f458..4e463fddbdd 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c @@ -6,6 +6,7 @@ #include <common.h> #include <clock_legacy.h> #include <efi_loader.h> +#include <asm/cache.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <phy.h> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/mp.c b/arch/arm/cpu/armv8/fsl-layerscape/mp.c index ca07c68863b..4e779dde1db 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/mp.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/mp.c @@ -5,6 +5,7 @@ #include <common.h> #include <cpu_func.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/system.h> #include <asm/arch/mp.h> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ppa.c b/arch/arm/cpu/armv8/fsl-layerscape/ppa.c index d391f930415..daaaeab26cc 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/ppa.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/ppa.c @@ -6,6 +6,7 @@ #include <malloc.h> #include <config.h> #include <errno.h> +#include <asm/cache.h> #include <asm/system.h> #include <asm/types.h> #include <asm/arch/soc.h> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/soc.c b/arch/arm/cpu/armv8/fsl-layerscape/soc.c index d0e10cb007b..ff7f29275c0 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/soc.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/soc.c @@ -12,6 +12,7 @@ #include <init.h> #include <asm/arch/fsl_serdes.h> #include <asm/arch/soc.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/global_data.h> #include <asm/arch-fsl-layerscape/config.h> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/spl.c b/arch/arm/cpu/armv8/fsl-layerscape/spl.c index accad6e8ae7..2c0ce80c0ca 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/spl.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/spl.c @@ -8,6 +8,7 @@ #include <cpu_func.h> #include <env.h> #include <spl.h> +#include <asm/cache.h> #include <asm/io.h> #include <fsl_ifc.h> #include <i2c.h> diff --git a/arch/arm/cpu/armv8/fwcall.c b/arch/arm/cpu/armv8/fwcall.c index 4bffec9560a..b29bc30fc25 100644 --- a/arch/arm/cpu/armv8/fwcall.c +++ b/arch/arm/cpu/armv8/fwcall.c @@ -8,6 +8,7 @@ #include <asm-offsets.h> #include <config.h> #include <version.h> +#include <asm/cache.h> #include <asm/macro.h> #include <asm/psci.h> #include <asm/ptrace.h> diff --git a/arch/arm/cpu/armv8/s32v234/cpu.c b/arch/arm/cpu/armv8/s32v234/cpu.c index b5a9513eadc..f910b6ed72c 100644 --- a/arch/arm/cpu/armv8/s32v234/cpu.c +++ b/arch/arm/cpu/armv8/s32v234/cpu.c @@ -5,6 +5,7 @@ #include <common.h> #include <cpu_func.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/system.h> #include <asm/armv8/mmu.h> diff --git a/arch/arm/cpu/armv8/s32v234/generic.c b/arch/arm/cpu/armv8/s32v234/generic.c index ec4641dcdbe..98f526e2523 100644 --- a/arch/arm/cpu/armv8/s32v234/generic.c +++ b/arch/arm/cpu/armv8/s32v234/generic.c @@ -6,6 +6,7 @@ #include <common.h> #include <clock_legacy.h> #include <cpu_func.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> #include <asm/arch/clock.h> diff --git a/arch/arm/cpu/armv8/sec_firmware.c b/arch/arm/cpu/armv8/sec_firmware.c index 95ea57d571b..36f40a4015d 100644 --- a/arch/arm/cpu/armv8/sec_firmware.c +++ b/arch/arm/cpu/armv8/sec_firmware.c @@ -6,6 +6,7 @@ #include <common.h> #include <cpu_func.h> #include <errno.h> +#include <asm/cache.h> #include <linux/kernel.h> #include <asm/io.h> #include <asm/system.h> diff --git a/arch/arm/cpu/pxa/cache.c b/arch/arm/cpu/pxa/cache.c index d4dfe7f6d85..a2ec5e28c7d 100644 --- a/arch/arm/cpu/pxa/cache.c +++ b/arch/arm/cpu/pxa/cache.c @@ -4,6 +4,7 @@ */ #include <cpu_func.h> +#include <asm/cache.h> #include <linux/types.h> #include <common.h> diff --git a/arch/arm/cpu/pxa/pxa2xx.c b/arch/arm/cpu/pxa/pxa2xx.c index 002ff7988b9..ecf85d2f14b 100644 --- a/arch/arm/cpu/pxa/pxa2xx.c +++ b/arch/arm/cpu/pxa/pxa2xx.c @@ -13,6 +13,7 @@ #include <cpu_func.h> #include <irq_func.h> #include <asm/arch/pxa-regs.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/system.h> #include <command.h> diff --git a/arch/arm/include/asm/arch-tegra/cboot.h b/arch/arm/include/asm/arch-tegra/cboot.h index 021c2461757..4e1da98d1f2 100644 --- a/arch/arm/include/asm/arch-tegra/cboot.h +++ b/arch/arm/include/asm/arch-tegra/cboot.h @@ -6,7 +6,10 @@ #ifndef _TEGRA_CBOOT_H_ #define _TEGRA_CBOOT_H_ +#include <net.h> + #ifdef CONFIG_ARM64 + extern unsigned long cboot_boot_x0; void cboot_save_boot_params(unsigned long x0, unsigned long x1, diff --git a/arch/arm/include/asm/mach-imx/dma.h b/arch/arm/include/asm/mach-imx/dma.h index ca70731b9eb..8586f3a04d3 100644 --- a/arch/arm/include/asm/mach-imx/dma.h +++ b/arch/arm/include/asm/mach-imx/dma.h @@ -12,6 +12,7 @@ #ifndef __DMA_H__ #define __DMA_H__ +#include <asm/cache.h> #include <linux/list.h> #include <linux/compiler.h> diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index a135bcfc7b5..3e387e49e70 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -29,6 +29,7 @@ #include <linux/compiler.h> #include <bootm.h> #include <vxworks.h> +#include <asm/cache.h> #ifdef CONFIG_ARMV7_NONSEC #include <asm/armv7.h> diff --git a/arch/arm/lib/cache.c b/arch/arm/lib/cache.c index 007d4ebc491..41544954578 100644 --- a/arch/arm/lib/cache.c +++ b/arch/arm/lib/cache.c @@ -9,6 +9,7 @@ #include <common.h> #include <cpu_func.h> #include <malloc.h> +#include <asm/cache.h> /* * Flush range from all levels of d-cache/unified-cache. diff --git a/arch/arm/lib/psci-dt.c b/arch/arm/lib/psci-dt.c index 246f3c7cb84..0ed29a43f10 100644 --- a/arch/arm/lib/psci-dt.c +++ b/arch/arm/lib/psci-dt.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <asm/cache.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <linux/sizes.h> diff --git a/arch/arm/lib/spl.c b/arch/arm/lib/spl.c index 33cc76ba3de..8a24e34f620 100644 --- a/arch/arm/lib/spl.c +++ b/arch/arm/lib/spl.c @@ -11,6 +11,7 @@ #include <config.h> #include <spl.h> #include <image.h> +#include <asm/cache.h> #include <linux/compiler.h> #include <asm/mach-types.h> diff --git a/arch/arm/mach-bcm283x/mbox.c b/arch/arm/mach-bcm283x/mbox.c index 17855506427..da0b4feacbc 100644 --- a/arch/arm/mach-bcm283x/mbox.c +++ b/arch/arm/mach-bcm283x/mbox.c @@ -5,6 +5,7 @@ #include <common.h> #include <cpu_func.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch/base.h> #include <asm/arch/mbox.h> diff --git a/arch/arm/mach-exynos/lowlevel_init.c b/arch/arm/mach-exynos/lowlevel_init.c index 1e090fd63ca..ecd01051211 100644 --- a/arch/arm/mach-exynos/lowlevel_init.c +++ b/arch/arm/mach-exynos/lowlevel_init.c @@ -26,6 +26,7 @@ #include <common.h> #include <config.h> #include <debug_uart.h> +#include <asm/system.h> #include <asm/arch/cpu.h> #include <asm/arch/dmc.h> #include <asm/arch/power.h> diff --git a/arch/arm/mach-exynos/soc.c b/arch/arm/mach-exynos/soc.c index c4cf59dabbd..810fa348eea 100644 --- a/arch/arm/mach-exynos/soc.c +++ b/arch/arm/mach-exynos/soc.c @@ -6,6 +6,7 @@ #include <common.h> #include <cpu_func.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/system.h> diff --git a/arch/arm/mach-exynos/spl_boot.c b/arch/arm/mach-exynos/spl_boot.c index 103bb38d450..8b2c5c79c03 100644 --- a/arch/arm/mach-exynos/spl_boot.c +++ b/arch/arm/mach-exynos/spl_boot.c @@ -6,6 +6,7 @@ #include <common.h> #include <config.h> +#include <asm/cache.h> #include <asm/arch/clock.h> #include <asm/arch/clk.h> #include <asm/arch/dmc.h> diff --git a/arch/arm/mach-imx/cache.c b/arch/arm/mach-imx/cache.c index 4fd2e434488..4e3b49a3fdf 100644 --- a/arch/arm/mach-imx/cache.c +++ b/arch/arm/mach-imx/cache.c @@ -6,6 +6,7 @@ #include <common.h> #include <cpu_func.h> #include <asm/armv7.h> +#include <asm/cache.h> #include <asm/pl310.h> #include <asm/io.h> #include <asm/mach-imx/sys_proto.h> diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c index bfa85c64c6a..5444b07c88e 100644 --- a/arch/arm/mach-imx/cpu.c +++ b/arch/arm/mach-imx/cpu.c @@ -8,6 +8,7 @@ #include <bootm.h> #include <common.h> +#include <net.h> #include <netdev.h> #include <linux/errno.h> #include <asm/io.h> diff --git a/arch/arm/mach-imx/imx8/cpu.c b/arch/arm/mach-imx/imx8/cpu.c index 21103809577..4c965158fc7 100644 --- a/arch/arm/mach-imx/imx8/cpu.c +++ b/arch/arm/mach-imx/imx8/cpu.c @@ -9,6 +9,7 @@ #include <cpu_func.h> #include <dm.h> #include <init.h> +#include <asm/cache.h> #include <dm/device-internal.h> #include <dm/lists.h> #include <dm/uclass.h> diff --git a/arch/arm/mach-imx/mx5/soc.c b/arch/arm/mach-imx/mx5/soc.c index b3a57bcf4bc..c61fcce3eb4 100644 --- a/arch/arm/mach-imx/mx5/soc.c +++ b/arch/arm/mach-imx/mx5/soc.c @@ -11,6 +11,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/clock.h> #include <asm/arch/sys_proto.h> +#include <asm/cache.h> #include <linux/errno.h> #include <asm/io.h> diff --git a/arch/arm/mach-imx/mx7/psci-mx7.c b/arch/arm/mach-imx/mx7/psci-mx7.c index c8f6ca235b9..f32945ea371 100644 --- a/arch/arm/mach-imx/mx7/psci-mx7.c +++ b/arch/arm/mach-imx/mx7/psci-mx7.c @@ -5,6 +5,7 @@ */ #include <cpu_func.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/psci.h> #include <asm/secure.h> diff --git a/arch/arm/mach-imx/sip.c b/arch/arm/mach-imx/sip.c index fca520c671b..a4f0ab48863 100644 --- a/arch/arm/mach-imx/sip.c +++ b/arch/arm/mach-imx/sip.c @@ -5,6 +5,7 @@ #include <common.h> #include <asm/arch/sys_proto.h> +#include <asm/cache.h> unsigned long call_imx_sip(unsigned long id, unsigned long reg0, unsigned long reg1, unsigned long reg2, diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c index efd84ec7eb9..d1be4bf69a6 100644 --- a/arch/arm/mach-k3/common.c +++ b/arch/arm/mach-k3/common.c @@ -12,6 +12,7 @@ #include "common.h" #include <dm.h> #include <remoteproc.h> +#include <asm/cache.h> #include <linux/soc/ti/ti_sci_protocol.h> #include <fdt_support.h> #include <asm/arch/sys_proto.h> diff --git a/arch/arm/mach-k3/security.c b/arch/arm/mach-k3/security.c index 0d77d983596..dd7c998487f 100644 --- a/arch/arm/mach-k3/security.c +++ b/arch/arm/mach-k3/security.c @@ -10,6 +10,7 @@ #include <cpu_func.h> #include <dm.h> #include <hang.h> +#include <asm/cache.h> #include <linux/soc/ti/ti_sci_protocol.h> #include <mach/spl.h> #include <spl.h> diff --git a/arch/arm/mach-k3/sysfw-loader.c b/arch/arm/mach-k3/sysfw-loader.c index 4f5c8482456..6d54b65f08c 100644 --- a/arch/arm/mach-k3/sysfw-loader.c +++ b/arch/arm/mach-k3/sysfw-loader.c @@ -10,6 +10,7 @@ #include <spl.h> #include <malloc.h> #include <remoteproc.h> +#include <asm/cache.h> #include <linux/soc/ti/ti_sci_protocol.h> #include <g_dnl.h> #include <usb.h> diff --git a/arch/arm/mach-keystone/init.c b/arch/arm/mach-keystone/init.c index 375588894da..59fd029e4c9 100644 --- a/arch/arm/mach-keystone/init.c +++ b/arch/arm/mach-keystone/init.c @@ -9,6 +9,7 @@ #include <common.h> #include <cpu_func.h> #include <ns16550.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch/msmc.h> #include <asm/arch/clock.h> diff --git a/arch/arm/mach-kirkwood/cache.c b/arch/arm/mach-kirkwood/cache.c index 6b12ea5e914..009b7deeca6 100644 --- a/arch/arm/mach-kirkwood/cache.c +++ b/arch/arm/mach-kirkwood/cache.c @@ -5,6 +5,7 @@ */ #include <common.h> #include <asm/arch/cpu.h> +#include <asm/cache.h> #define FEROCEON_EXTRA_FEATURE_L2C_EN (1<<22) diff --git a/arch/arm/mach-kirkwood/cpu.c b/arch/arm/mach-kirkwood/cpu.c index 5e964af8eab..c56620dc5a7 100644 --- a/arch/arm/mach-kirkwood/cpu.c +++ b/arch/arm/mach-kirkwood/cpu.c @@ -9,6 +9,7 @@ #include <command.h> #include <cpu_func.h> #include <env.h> +#include <net.h> #include <netdev.h> #include <asm/cache.h> #include <asm/io.h> diff --git a/arch/arm/mach-mediatek/mt7622/init.c b/arch/arm/mach-mediatek/mt7622/init.c index 1e527c0485e..a7153781279 100644 --- a/arch/arm/mach-mediatek/mt7622/init.c +++ b/arch/arm/mach-mediatek/mt7622/init.c @@ -7,6 +7,7 @@ #include <common.h> #include <fdtdec.h> #include <asm/armv8/mmu.h> +#include <asm/cache.h> int print_cpuinfo(void) { diff --git a/arch/arm/mach-mediatek/mt8512/init.c b/arch/arm/mach-mediatek/mt8512/init.c index a38b5d12d93..4e6b710c11a 100644 --- a/arch/arm/mach-mediatek/mt8512/init.c +++ b/arch/arm/mach-mediatek/mt8512/init.c @@ -14,6 +14,7 @@ #include <wdt.h> #include <asm/arch/misc.h> #include <asm/armv8/mmu.h> +#include <asm/cache.h> #include <asm/sections.h> #include <dm/uclass.h> #include <dt-bindings/clock/mt8512-clk.h> diff --git a/arch/arm/mach-mediatek/mt8516/init.c b/arch/arm/mach-mediatek/mt8516/init.c index 360d94abb00..b038437a174 100644 --- a/arch/arm/mach-mediatek/mt8516/init.c +++ b/arch/arm/mach-mediatek/mt8516/init.c @@ -13,6 +13,7 @@ #include <ram.h> #include <asm/arch/misc.h> #include <asm/armv8/mmu.h> +#include <asm/cache.h> #include <asm/sections.h> #include <dm/uclass.h> #include <dt-bindings/clock/mt8516-clk.h> diff --git a/arch/arm/mach-mediatek/mt8518/init.c b/arch/arm/mach-mediatek/mt8518/init.c index c2b1b769824..c46cc5fcaf4 100644 --- a/arch/arm/mach-mediatek/mt8518/init.c +++ b/arch/arm/mach-mediatek/mt8518/init.c @@ -14,6 +14,7 @@ #include <ram.h> #include <asm/arch/misc.h> #include <asm/armv8/mmu.h> +#include <asm/cache.h> #include <asm/sections.h> #include <dm/uclass.h> #include <dt-bindings/clock/mt8518-clk.h> diff --git a/arch/arm/mach-meson/board-axg.c b/arch/arm/mach-meson/board-axg.c index 6874458e36a..5e0b3f6cb5e 100644 --- a/arch/arm/mach-meson/board-axg.c +++ b/arch/arm/mach-meson/board-axg.c @@ -6,6 +6,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/arch/boot.h> #include <asm/arch/eth.h> #include <asm/arch/axg.h> diff --git a/arch/arm/mach-meson/board-common.c b/arch/arm/mach-meson/board-common.c index bc4c92074cb..3a7cffcab31 100644 --- a/arch/arm/mach-meson/board-common.c +++ b/arch/arm/mach-meson/board-common.c @@ -6,8 +6,10 @@ #include <common.h> #include <cpu_func.h> #include <init.h> +#include <net.h> #include <asm/arch/boot.h> #include <env.h> +#include <asm/cache.h> #include <linux/libfdt.h> #include <linux/err.h> #include <asm/arch/mem.h> diff --git a/arch/arm/mach-meson/board-g12a.c b/arch/arm/mach-meson/board-g12a.c index 26d6b907906..fc1729edd38 100644 --- a/arch/arm/mach-meson/board-g12a.c +++ b/arch/arm/mach-meson/board-g12a.c @@ -6,6 +6,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/arch/boot.h> #include <asm/arch/eth.h> #include <asm/arch/g12a.h> diff --git a/arch/arm/mach-meson/board-gx.c b/arch/arm/mach-meson/board-gx.c index 191fd490058..82ac7af0b04 100644 --- a/arch/arm/mach-meson/board-gx.c +++ b/arch/arm/mach-meson/board-gx.c @@ -6,6 +6,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/arch/boot.h> #include <asm/arch/eth.h> #include <asm/arch/gx.h> diff --git a/arch/arm/mach-meson/sm.c b/arch/arm/mach-meson/sm.c index fac286b9c85..dacc897533c 100644 --- a/arch/arm/mach-meson/sm.c +++ b/arch/arm/mach-meson/sm.c @@ -7,6 +7,7 @@ #include <common.h> #include <asm/arch/sm.h> +#include <asm/cache.h> #include <linux/err.h> #include <linux/kernel.h> #include <dm.h> diff --git a/arch/arm/mach-mvebu/arm64-common.c b/arch/arm/mach-mvebu/arm64-common.c index 40b98dbf08b..2896d6b0611 100644 --- a/arch/arm/mach-mvebu/arm64-common.c +++ b/arch/arm/mach-mvebu/arm64-common.c @@ -7,6 +7,7 @@ #include <dm.h> #include <fdtdec.h> #include <init.h> +#include <asm/cache.h> #include <linux/libfdt.h> #include <linux/sizes.h> #include <pci.h> diff --git a/arch/arm/mach-omap2/am33xx/board.c b/arch/arm/mach-omap2/am33xx/board.c index 283f73522d6..533601eac4a 100644 --- a/arch/arm/mach-omap2/am33xx/board.c +++ b/arch/arm/mach-omap2/am33xx/board.c @@ -12,6 +12,7 @@ #include <debug_uart.h> #include <errno.h> #include <init.h> +#include <net.h> #include <ns16550.h> #include <spl.h> #include <asm/arch/cpu.h> diff --git a/arch/arm/mach-omap2/omap3/emac.c b/arch/arm/mach-omap2/omap3/emac.c index fb0c9188f57..eecc5d334e1 100644 --- a/arch/arm/mach-omap2/omap3/emac.c +++ b/arch/arm/mach-omap2/omap3/emac.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/am35x_def.h> diff --git a/arch/arm/mach-orion5x/cpu.c b/arch/arm/mach-orion5x/cpu.c index 5a693e20bb5..7d57dd257fe 100644 --- a/arch/arm/mach-orion5x/cpu.c +++ b/arch/arm/mach-orion5x/cpu.c @@ -10,6 +10,7 @@ #include <common.h> #include <cpu_func.h> +#include <net.h> #include <netdev.h> #include <asm/cache.h> #include <asm/io.h> diff --git a/arch/arm/mach-rmobile/cpu_info.c b/arch/arm/mach-rmobile/cpu_info.c index 2cc701c4f5f..9b34cba0475 100644 --- a/arch/arm/mach-rmobile/cpu_info.c +++ b/arch/arm/mach-rmobile/cpu_info.c @@ -5,6 +5,7 @@ */ #include <common.h> #include <cpu_func.h> +#include <asm/cache.h> #include <asm/io.h> #include <env.h> #include <linux/ctype.h> diff --git a/arch/arm/mach-rmobile/emac.c b/arch/arm/mach-rmobile/emac.c index f9cd89a1314..3211dfee027 100644 --- a/arch/arm/mach-rmobile/emac.c +++ b/arch/arm/mach-rmobile/emac.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <net.h> #include <linux/errno.h> #include <netdev.h> diff --git a/arch/arm/mach-rockchip/board.c b/arch/arm/mach-rockchip/board.c index 14b9e89ea35..9f26b8d16c8 100644 --- a/arch/arm/mach-rockchip/board.c +++ b/arch/arm/mach-rockchip/board.c @@ -9,6 +9,7 @@ #include <init.h> #include <ram.h> #include <syscon.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch-rockchip/boot_mode.h> #include <asm/arch-rockchip/clock.h> diff --git a/arch/arm/mach-rockchip/bootrom.c b/arch/arm/mach-rockchip/bootrom.c index 1524eca2729..b36e559e871 100644 --- a/arch/arm/mach-rockchip/bootrom.c +++ b/arch/arm/mach-rockchip/bootrom.c @@ -7,6 +7,7 @@ #include <hang.h> #include <asm/arch-rockchip/bootrom.h> #include <asm/arch-rockchip/boot_mode.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/setjmp.h> #include <asm/system.h> diff --git a/arch/arm/mach-s5pc1xx/cache.c b/arch/arm/mach-s5pc1xx/cache.c index 7816ba11778..b390bdf8278 100644 --- a/arch/arm/mach-s5pc1xx/cache.c +++ b/arch/arm/mach-s5pc1xx/cache.c @@ -9,6 +9,7 @@ #include <common.h> #include <cpu_func.h> +#include <asm/cache.h> #if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF) void enable_caches(void) diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c index 2901b7db680..0158f4f04c4 100644 --- a/arch/arm/mach-socfpga/misc.c +++ b/arch/arm/mach-socfpga/misc.c @@ -6,6 +6,7 @@ #include <common.h> #include <cpu_func.h> #include <hang.h> +#include <asm/cache.h> #include <asm/io.h> #include <errno.h> #include <fdtdec.h> diff --git a/arch/arm/mach-stm32mp/cpu.c b/arch/arm/mach-stm32mp/cpu.c index 9aa57943345..48706013e0e 100644 --- a/arch/arm/mach-stm32mp/cpu.c +++ b/arch/arm/mach-stm32mp/cpu.c @@ -8,6 +8,7 @@ #include <debug_uart.h> #include <env.h> #include <misc.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/stm32.h> #include <asm/arch/sys_proto.h> diff --git a/arch/arm/mach-stm32mp/psci.c b/arch/arm/mach-stm32mp/psci.c index 3fb038d3e77..19f1acfe232 100644 --- a/arch/arm/mach-stm32mp/psci.c +++ b/arch/arm/mach-stm32mp/psci.c @@ -6,6 +6,7 @@ #include <config.h> #include <common.h> #include <asm/armv7.h> +#include <asm/cache.h> #include <asm/gic.h> #include <asm/io.h> #include <asm/psci.h> diff --git a/arch/arm/mach-sunxi/board.c b/arch/arm/mach-sunxi/board.c index b487b265af2..11b333b563d 100644 --- a/arch/arm/mach-sunxi/board.c +++ b/arch/arm/mach-sunxi/board.c @@ -15,6 +15,7 @@ #include <i2c.h> #include <serial.h> #include <spl.h> +#include <asm/cache.h> #include <asm/gpio.h> #include <asm/io.h> #include <asm/arch/clock.h> diff --git a/arch/arm/mach-tegra/board.c b/arch/arm/mach-tegra/board.c index 31c49a7c849..267bfde09dc 100644 --- a/arch/arm/mach-tegra/board.c +++ b/arch/arm/mach-tegra/board.c @@ -10,6 +10,7 @@ #include <init.h> #include <ns16550.h> #include <spl.h> +#include <asm/cache.h> #include <asm/io.h> #if IS_ENABLED(CONFIG_TEGRA_CLKRST) #include <asm/arch/clock.h> diff --git a/arch/arm/mach-tegra/cboot.c b/arch/arm/mach-tegra/cboot.c index 390229436ec..4416827220e 100644 --- a/arch/arm/mach-tegra/cboot.c +++ b/arch/arm/mach-tegra/cboot.c @@ -9,6 +9,7 @@ #include <fdtdec.h> #include <hang.h> #include <malloc.h> +#include <net.h> #include <stdlib.h> #include <string.h> diff --git a/arch/arm/mach-tegra/tegra210/clock.c b/arch/arm/mach-tegra/tegra210/clock.c index 00c65c281fc..492f4d8c11c 100644 --- a/arch/arm/mach-tegra/tegra210/clock.c +++ b/arch/arm/mach-tegra/tegra210/clock.c @@ -8,6 +8,7 @@ #include <common.h> #include <errno.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/sysctr.h> diff --git a/arch/arm/mach-u8500/cache.c b/arch/arm/mach-u8500/cache.c index 3d96d09f31e..f9fd4fe7d33 100644 --- a/arch/arm/mach-u8500/cache.c +++ b/arch/arm/mach-u8500/cache.c @@ -6,6 +6,7 @@ #include <common.h> #include <cpu_func.h> #include <asm/armv7.h> +#include <asm/cache.h> #include <asm/pl310.h> #define PL310_WAY_MASK 0xff diff --git a/arch/arm/mach-uniphier/arm32/psci.c b/arch/arm/mach-uniphier/arm32/psci.c index 9a3793316ab..e231e7b60b8 100644 --- a/arch/arm/mach-uniphier/arm32/psci.c +++ b/arch/arm/mach-uniphier/arm32/psci.c @@ -6,6 +6,7 @@ #include <common.h> #include <cpu_func.h> +#include <asm/cache.h> #include <linux/bitops.h> #include <linux/delay.h> #include <linux/io.h> diff --git a/arch/arm/mach-uniphier/micro-support-card.c b/arch/arm/mach-uniphier/micro-support-card.c index c71470a2042..951e71430f1 100644 --- a/arch/arm/mach-uniphier/micro-support-card.c +++ b/arch/arm/mach-uniphier/micro-support-card.c @@ -6,8 +6,9 @@ */ #include <common.h> -#include <dm/of.h> #include <fdt_support.h> +#include <net.h> +#include <dm/of.h> #include <linux/ctype.h> #include <linux/io.h> diff --git a/arch/arm/mach-versal/cpu.c b/arch/arm/mach-versal/cpu.c index 829a6c1b3e5..ad716fcb7af 100644 --- a/arch/arm/mach-versal/cpu.c +++ b/arch/arm/mach-versal/cpu.c @@ -6,6 +6,7 @@ #include <common.h> #include <asm/armv8/mmu.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch/hardware.h> #include <asm/arch/sys_proto.h> diff --git a/arch/arm/mach-zynq/cpu.c b/arch/arm/mach-zynq/cpu.c index aca44dfe67c..43c5ca39d47 100644 --- a/arch/arm/mach-zynq/cpu.c +++ b/arch/arm/mach-zynq/cpu.c @@ -6,6 +6,7 @@ #include <common.h> #include <cpu_func.h> #include <zynqpl.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch/clk.h> #include <asm/arch/hardware.h> diff --git a/arch/arm/mach-zynqmp/cpu.c b/arch/arm/mach-zynqmp/cpu.c index 442427bc110..5b98fe22bcd 100644 --- a/arch/arm/mach-zynqmp/cpu.c +++ b/arch/arm/mach-zynqmp/cpu.c @@ -9,6 +9,7 @@ #include <asm/arch/hardware.h> #include <asm/arch/sys_proto.h> #include <asm/armv8/mmu.h> +#include <asm/cache.h> #include <asm/io.h> #include <zynqmp_firmware.h> diff --git a/arch/m68k/cpu/mcf523x/cpu.c b/arch/m68k/cpu/mcf523x/cpu.c index 429781945bf..8c808a6b0ce 100644 --- a/arch/m68k/cpu/mcf523x/cpu.c +++ b/arch/m68k/cpu/mcf523x/cpu.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <net.h> #include <vsprintf.h> #include <watchdog.h> #include <command.h> diff --git a/arch/m68k/cpu/mcf52x2/cpu.c b/arch/m68k/cpu/mcf52x2/cpu.c index b48a753f9b7..5eee856392f 100644 --- a/arch/m68k/cpu/mcf52x2/cpu.c +++ b/arch/m68k/cpu/mcf52x2/cpu.c @@ -14,6 +14,7 @@ */ #include <common.h> +#include <net.h> #include <vsprintf.h> #include <watchdog.h> #include <command.h> diff --git a/arch/m68k/cpu/mcf532x/cpu.c b/arch/m68k/cpu/mcf532x/cpu.c index 6807992de53..32c477a5fd4 100644 --- a/arch/m68k/cpu/mcf532x/cpu.c +++ b/arch/m68k/cpu/mcf532x/cpu.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <net.h> #include <vsprintf.h> #include <watchdog.h> #include <command.h> diff --git a/arch/m68k/cpu/mcf5445x/cpu.c b/arch/m68k/cpu/mcf5445x/cpu.c index 2f79380c8be..16023690803 100644 --- a/arch/m68k/cpu/mcf5445x/cpu.c +++ b/arch/m68k/cpu/mcf5445x/cpu.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <net.h> #include <vsprintf.h> #include <watchdog.h> #include <command.h> diff --git a/arch/m68k/cpu/mcf547x_8x/cpu.c b/arch/m68k/cpu/mcf547x_8x/cpu.c index dc5ed1aa79f..51281549a35 100644 --- a/arch/m68k/cpu/mcf547x_8x/cpu.c +++ b/arch/m68k/cpu/mcf547x_8x/cpu.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <net.h> #include <vsprintf.h> #include <watchdog.h> #include <command.h> diff --git a/arch/microblaze/cpu/cache.c b/arch/microblaze/cpu/cache.c index 02f66f9087d..aa832d6be6d 100644 --- a/arch/microblaze/cpu/cache.c +++ b/arch/microblaze/cpu/cache.c @@ -8,6 +8,7 @@ #include <common.h> #include <cpu_func.h> #include <asm/asm.h> +#include <asm/cache.h> int dcache_status(void) { diff --git a/arch/microblaze/lib/bootm.c b/arch/microblaze/lib/bootm.c index 2d6a41be2fd..87d2d6ee70d 100644 --- a/arch/microblaze/lib/bootm.c +++ b/arch/microblaze/lib/bootm.c @@ -14,6 +14,7 @@ #include <fdt_support.h> #include <hang.h> #include <image.h> +#include <asm/cache.h> #include <u-boot/zlib.h> #include <asm/byteorder.h> diff --git a/arch/mips/include/asm/cacheops.h b/arch/mips/include/asm/cacheops.h index 98b67ccc8ec..641e2ad58de 100644 --- a/arch/mips/include/asm/cacheops.h +++ b/arch/mips/include/asm/cacheops.h @@ -8,6 +8,8 @@ #ifndef __ASM_CACHEOPS_H #define __ASM_CACHEOPS_H +#include <asm/cache.h> + #ifndef __ASSEMBLY__ static inline void mips_cache(int op, const volatile void *addr) diff --git a/arch/mips/lib/cache.c b/arch/mips/lib/cache.c index 502956d050c..eff1a9c7835 100644 --- a/arch/mips/lib/cache.c +++ b/arch/mips/lib/cache.c @@ -6,6 +6,7 @@ #include <common.h> #include <cpu_func.h> +#include <asm/cache.h> #include <asm/cacheops.h> #ifdef CONFIG_MIPS_L2_CACHE #include <asm/cm.h> diff --git a/arch/nds32/lib/cache.c b/arch/nds32/lib/cache.c index e11d300b6db..21917e5da5e 100644 --- a/arch/nds32/lib/cache.c +++ b/arch/nds32/lib/cache.c @@ -8,6 +8,7 @@ #include <common.h> #include <cpu_func.h> #if !(CONFIG_IS_ENABLED(SYS_ICACHE_OFF) && CONFIG_IS_ENABLED(SYS_DCACHE_OFF)) +#include <asm/cache.h> static inline unsigned long CACHE_SET(unsigned char cache) { if (cache == ICACHE) diff --git a/arch/powerpc/cpu/mpc83xx/cpu.c b/arch/powerpc/cpu/mpc83xx/cpu.c index f4e25f1f59c..f0e3ada1952 100644 --- a/arch/powerpc/cpu/mpc83xx/cpu.c +++ b/arch/powerpc/cpu/mpc83xx/cpu.c @@ -12,6 +12,7 @@ #include <common.h> #include <cpu_func.h> #include <irq_func.h> +#include <net.h> #include <time.h> #include <vsprintf.h> #include <watchdog.h> diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c index a9f39dc5838..1c2d8edf605 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu_init.c +++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c @@ -12,6 +12,7 @@ #include <common.h> #include <env.h> #include <init.h> +#include <net.h> #include <watchdog.h> #include <asm/processor.h> #include <ioports.h> diff --git a/arch/powerpc/cpu/mpc8xx/cpu.c b/arch/powerpc/cpu/mpc8xx/cpu.c index 4a1698d3bca..9d6c08f17a0 100644 --- a/arch/powerpc/cpu/mpc8xx/cpu.c +++ b/arch/powerpc/cpu/mpc8xx/cpu.c @@ -18,6 +18,7 @@ #include <common.h> #include <cpu_func.h> +#include <net.h> #include <time.h> #include <vsprintf.h> #include <watchdog.h> diff --git a/arch/powerpc/cpu/mpc8xxx/cpu.c b/arch/powerpc/cpu/mpc8xxx/cpu.c index ed482a9c098..bb81f49ae73 100644 --- a/arch/powerpc/cpu/mpc8xxx/cpu.c +++ b/arch/powerpc/cpu/mpc8xxx/cpu.c @@ -11,6 +11,7 @@ #include <common.h> #include <command.h> #include <cpu_func.h> +#include <net.h> #include <tsec.h> #include <fm_eth.h> #include <netdev.h> diff --git a/arch/riscv/cpu/ax25/cache.c b/arch/riscv/cpu/ax25/cache.c index 9f424198b4a..a3b53da5a6f 100644 --- a/arch/riscv/cpu/ax25/cache.c +++ b/arch/riscv/cpu/ax25/cache.c @@ -7,6 +7,7 @@ #include <common.h> #include <cpu_func.h> #include <dm.h> +#include <asm/cache.h> #include <dm/uclass-internal.h> #include <cache.h> #include <asm/csr.h> diff --git a/arch/riscv/cpu/generic/cpu.c b/arch/riscv/cpu/generic/cpu.c index c0a5288bdbb..bff4fc6b990 100644 --- a/arch/riscv/cpu/generic/cpu.c +++ b/arch/riscv/cpu/generic/cpu.c @@ -6,6 +6,7 @@ #include <common.h> #include <dm.h> #include <irq_func.h> +#include <asm/cache.h> /* * cleanup_before_linux() is called just before we call linux diff --git a/arch/sh/cpu/sh4/cache.c b/arch/sh/cpu/sh4/cache.c index 2f49ce86816..0f7dfdd3cf7 100644 --- a/arch/sh/cpu/sh4/cache.c +++ b/arch/sh/cpu/sh4/cache.c @@ -7,6 +7,7 @@ #include <common.h> #include <command.h> #include <cpu_func.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/processor.h> #include <asm/system.h> diff --git a/arch/sh/cpu/sh4/cpu.c b/arch/sh/cpu/sh4/cpu.c index a8d0590d51e..e94e980c0e5 100644 --- a/arch/sh/cpu/sh4/cpu.c +++ b/arch/sh/cpu/sh4/cpu.c @@ -8,6 +8,7 @@ #include <command.h> #include <irq_func.h> #include <cpu_func.h> +#include <net.h> #include <netdev.h> #include <asm/processor.h> diff --git a/arch/x86/cpu/mtrr.c b/arch/x86/cpu/mtrr.c index a43cb7fc154..0e4402d68e9 100644 --- a/arch/x86/cpu/mtrr.c +++ b/arch/x86/cpu/mtrr.c @@ -18,6 +18,7 @@ #include <common.h> #include <cpu_func.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/msr.h> #include <asm/mtrr.h> diff --git a/arch/x86/cpu/quark/dram.c b/arch/x86/cpu/quark/dram.c index 2bf90dcfc62..30f47556264 100644 --- a/arch/x86/cpu/quark/dram.c +++ b/arch/x86/cpu/quark/dram.c @@ -9,6 +9,7 @@ #include <fdtdec.h> #include <init.h> #include <malloc.h> +#include <asm/cache.h> #include <asm/mrccache.h> #include <asm/mtrr.h> #include <asm/post.h> diff --git a/arch/x86/include/asm/mp.h b/arch/x86/include/asm/mp.h index fb59e2f67d6..9dddf88b5a1 100644 --- a/arch/x86/include/asm/mp.h +++ b/arch/x86/include/asm/mp.h @@ -9,6 +9,7 @@ #define _X86_MP_H_ #include <asm/atomic.h> +#include <asm/cache.h> typedef int (*mp_callback_t)(struct udevice *cpu, void *arg); diff --git a/arch/x86/lib/coreboot_table.c b/arch/x86/lib/coreboot_table.c index 2943e11d2a4..5fc4295f40a 100644 --- a/arch/x86/lib/coreboot_table.c +++ b/arch/x86/lib/coreboot_table.c @@ -6,6 +6,7 @@ #include <common.h> #include <acpi_s3.h> #include <malloc.h> +#include <net.h> #include <vbe.h> #include <asm/coreboot_tables.h> #include <asm/e820.h> diff --git a/board/AndesTech/adp-ae3xx/adp-ae3xx.c b/board/AndesTech/adp-ae3xx/adp-ae3xx.c index 8eb40bf295c..54f7178b360 100644 --- a/board/AndesTech/adp-ae3xx/adp-ae3xx.c +++ b/board/AndesTech/adp-ae3xx/adp-ae3xx.c @@ -6,6 +6,7 @@ */ #include <init.h> +#include <net.h> #include <asm/mach-types.h> #include <common.h> #include <flash.h> diff --git a/board/AndesTech/adp-ag101p/adp-ag101p.c b/board/AndesTech/adp-ag101p/adp-ag101p.c index d349b19648d..23cdf4f578a 100644 --- a/board/AndesTech/adp-ag101p/adp-ag101p.c +++ b/board/AndesTech/adp-ag101p/adp-ag101p.c @@ -8,6 +8,7 @@ #include <common.h> #include <flash.h> #include <init.h> +#include <net.h> #if defined(CONFIG_FTMAC100) && !defined(CONFIG_DM_ETH) #include <netdev.h> #endif diff --git a/board/AndesTech/ax25-ae350/ax25-ae350.c b/board/AndesTech/ax25-ae350/ax25-ae350.c index de546dab174..920d43ecc69 100644 --- a/board/AndesTech/ax25-ae350/ax25-ae350.c +++ b/board/AndesTech/ax25-ae350/ax25-ae350.c @@ -7,6 +7,7 @@ #include <common.h> #include <flash.h> #include <init.h> +#include <net.h> #if defined(CONFIG_FTMAC100) && !defined(CONFIG_DM_ETH) #include <netdev.h> #endif diff --git a/board/Arcturus/ucp1020/ucp1020.c b/board/Arcturus/ucp1020/ucp1020.c index b641b72aaa7..dfa1fd4f153 100644 --- a/board/Arcturus/ucp1020/ucp1020.c +++ b/board/Arcturus/ucp1020/ucp1020.c @@ -13,6 +13,7 @@ #include <env.h> #include <hwconfig.h> #include <init.h> +#include <net.h> #include <pci.h> #include <i2c.h> #include <miiphy.h> diff --git a/board/CZ.NIC/turris_mox/turris_mox.c b/board/CZ.NIC/turris_mox/turris_mox.c index 377191baefb..1ada6279c89 100644 --- a/board/CZ.NIC/turris_mox/turris_mox.c +++ b/board/CZ.NIC/turris_mox/turris_mox.c @@ -5,6 +5,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/gpio.h> #include <asm/io.h> #include <dm.h> diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c b/board/CZ.NIC/turris_omnia/turris_omnia.c index e1775d30047..29c11204580 100644 --- a/board/CZ.NIC/turris_omnia/turris_omnia.c +++ b/board/CZ.NIC/turris_omnia/turris_omnia.c @@ -12,6 +12,7 @@ #include <i2c.h> #include <init.h> #include <miiphy.h> +#include <net.h> #include <netdev.h> #include <asm/io.h> #include <asm/arch/cpu.h> diff --git a/board/Marvell/db-88f6720/db-88f6720.c b/board/Marvell/db-88f6720/db-88f6720.c index 94306b3d8ec..3e975801b8d 100644 --- a/board/Marvell/db-88f6720/db-88f6720.c +++ b/board/Marvell/db-88f6720/db-88f6720.c @@ -5,6 +5,7 @@ #include <common.h> #include <miiphy.h> +#include <net.h> #include <netdev.h> #include <asm/io.h> #include <asm/arch/cpu.h> diff --git a/board/Marvell/db-88f6820-amc/db-88f6820-amc.c b/board/Marvell/db-88f6820-amc/db-88f6820-amc.c index 922576e9d59..372beb3c432 100644 --- a/board/Marvell/db-88f6820-amc/db-88f6820-amc.c +++ b/board/Marvell/db-88f6820-amc/db-88f6820-amc.c @@ -6,6 +6,7 @@ #include <common.h> #include <i2c.h> #include <miiphy.h> +#include <net.h> #include <netdev.h> #include <asm/io.h> #include <asm/arch/cpu.h> diff --git a/board/Marvell/db-88f6820-gp/db-88f6820-gp.c b/board/Marvell/db-88f6820-gp/db-88f6820-gp.c index 1a0746b9d3d..f3df7e666b5 100644 --- a/board/Marvell/db-88f6820-gp/db-88f6820-gp.c +++ b/board/Marvell/db-88f6820-gp/db-88f6820-gp.c @@ -6,6 +6,7 @@ #include <common.h> #include <i2c.h> #include <miiphy.h> +#include <net.h> #include <netdev.h> #include <asm/io.h> #include <asm/arch/cpu.h> diff --git a/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c b/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c index 604e8c1670b..e7808f5a5c0 100644 --- a/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c +++ b/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c @@ -5,6 +5,7 @@ #include <common.h> #include <miiphy.h> +#include <net.h> #include <netdev.h> #include <asm/io.h> #include <asm/arch/cpu.h> diff --git a/board/Synology/ds414/cmd_syno.c b/board/Synology/ds414/cmd_syno.c index 777948f90f5..bd6eefd7735 100644 --- a/board/Synology/ds414/cmd_syno.c +++ b/board/Synology/ds414/cmd_syno.c @@ -8,6 +8,7 @@ #include <common.h> #include <div64.h> #include <env.h> +#include <net.h> #include <spi.h> #include <spi_flash.h> #include <linux/mtd/mtd.h> diff --git a/board/abilis/tb100/tb100.c b/board/abilis/tb100/tb100.c index e3fbbbaa8aa..47eb64dd1f8 100644 --- a/board/abilis/tb100/tb100.c +++ b/board/abilis/tb100/tb100.c @@ -5,6 +5,7 @@ #include <common.h> #include <cpu_func.h> +#include <net.h> #include <netdev.h> #include <asm/io.h> diff --git a/board/advantech/dms-ba16/dms-ba16.c b/board/advantech/dms-ba16/dms-ba16.c index 299f2f102d1..33e0e4a4ae1 100644 --- a/board/advantech/dms-ba16/dms-ba16.c +++ b/board/advantech/dms-ba16/dms-ba16.c @@ -6,6 +6,7 @@ */ #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> #include <asm/arch/iomux.h> diff --git a/board/amlogic/p200/p200.c b/board/amlogic/p200/p200.c index 41d331dda2d..d7f7ebd962a 100644 --- a/board/amlogic/p200/p200.c +++ b/board/amlogic/p200/p200.c @@ -6,6 +6,7 @@ #include <common.h> #include <dm.h> #include <env.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/gx.h> #include <asm/arch/sm.h> diff --git a/board/amlogic/p201/p201.c b/board/amlogic/p201/p201.c index e46fcaea6dc..cdac64ed928 100644 --- a/board/amlogic/p201/p201.c +++ b/board/amlogic/p201/p201.c @@ -6,6 +6,7 @@ #include <common.h> #include <dm.h> #include <env.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/gx.h> #include <asm/arch/sm.h> diff --git a/board/amlogic/p212/p212.c b/board/amlogic/p212/p212.c index 094ab5478d0..6ac5aadecfe 100644 --- a/board/amlogic/p212/p212.c +++ b/board/amlogic/p212/p212.c @@ -7,6 +7,7 @@ #include <common.h> #include <dm.h> #include <env.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/gx.h> #include <asm/arch/sm.h> diff --git a/board/amlogic/q200/q200.c b/board/amlogic/q200/q200.c index f1faa7418e0..ae9b888c12f 100644 --- a/board/amlogic/q200/q200.c +++ b/board/amlogic/q200/q200.c @@ -7,6 +7,7 @@ #include <common.h> #include <dm.h> #include <env.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/gx.h> #include <asm/arch/mem.h> diff --git a/board/amlogic/s400/s400.c b/board/amlogic/s400/s400.c index bdb4eca8839..79b867996b4 100644 --- a/board/amlogic/s400/s400.c +++ b/board/amlogic/s400/s400.c @@ -6,6 +6,7 @@ #include <common.h> #include <dm.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/axg.h> #include <asm/arch/sm.h> diff --git a/board/amlogic/sei510/sei510.c b/board/amlogic/sei510/sei510.c index 5de610d85fc..07a6a47ebc1 100644 --- a/board/amlogic/sei510/sei510.c +++ b/board/amlogic/sei510/sei510.c @@ -7,6 +7,7 @@ #include <common.h> #include <dm.h> #include <env_internal.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/axg.h> #include <asm/arch/sm.h> diff --git a/board/amlogic/sei610/sei610.c b/board/amlogic/sei610/sei610.c index b17eb9ef55b..5c24276d510 100644 --- a/board/amlogic/sei610/sei610.c +++ b/board/amlogic/sei610/sei610.c @@ -7,6 +7,7 @@ #include <common.h> #include <dm.h> #include <env_internal.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/axg.h> #include <asm/arch/sm.h> diff --git a/board/amlogic/u200/u200.c b/board/amlogic/u200/u200.c index 69fd29d4fec..4df7ff437e0 100644 --- a/board/amlogic/u200/u200.c +++ b/board/amlogic/u200/u200.c @@ -6,6 +6,7 @@ #include <common.h> #include <dm.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/axg.h> #include <asm/arch/sm.h> diff --git a/board/amlogic/w400/w400.c b/board/amlogic/w400/w400.c index e60dc3a622e..95bbdedbddc 100644 --- a/board/amlogic/w400/w400.c +++ b/board/amlogic/w400/w400.c @@ -7,6 +7,7 @@ #include <common.h> #include <dm.h> #include <env_internal.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/eth.h> diff --git a/board/armltd/integrator/integrator.c b/board/armltd/integrator/integrator.c index 1a472f50d3f..32e4933d20a 100644 --- a/board/armltd/integrator/integrator.c +++ b/board/armltd/integrator/integrator.c @@ -21,6 +21,7 @@ #include <dm.h> #include <env.h> #include <init.h> +#include <net.h> #include <netdev.h> #include <asm/io.h> #include <dm/platform_data/serial_pl01x.h> diff --git a/board/armltd/vexpress/vexpress_common.c b/board/armltd/vexpress/vexpress_common.c index 14626c1f553..ebd3322c6fc 100644 --- a/board/armltd/vexpress/vexpress_common.c +++ b/board/armltd/vexpress/vexpress_common.c @@ -20,6 +20,7 @@ #include <init.h> #include <malloc.h> #include <errno.h> +#include <net.h> #include <netdev.h> #include <asm/io.h> #include <asm/mach-types.h> diff --git a/board/armltd/vexpress64/vexpress64.c b/board/armltd/vexpress64/vexpress64.c index dd0ebdd3030..91a86b00a47 100644 --- a/board/armltd/vexpress64/vexpress64.c +++ b/board/armltd/vexpress64/vexpress64.c @@ -9,6 +9,7 @@ #include <dm.h> #include <malloc.h> #include <errno.h> +#include <net.h> #include <netdev.h> #include <asm/io.h> #include <linux/compiler.h> diff --git a/board/atmel/at91rm9200ek/at91rm9200ek.c b/board/atmel/at91rm9200ek/at91rm9200ek.c index e75d5b182f6..e4a6776f963 100644 --- a/board/atmel/at91rm9200ek/at91rm9200ek.c +++ b/board/atmel/at91rm9200ek/at91rm9200ek.c @@ -11,6 +11,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <netdev.h> #include <asm/mach-types.h> #include <asm/arch/hardware.h> diff --git a/board/atmel/at91sam9n12ek/at91sam9n12ek.c b/board/atmel/at91sam9n12ek/at91sam9n12ek.c index 90d32353e9b..f16c137565c 100644 --- a/board/atmel/at91sam9n12ek/at91sam9n12ek.c +++ b/board/atmel/at91sam9n12ek/at91sam9n12ek.c @@ -6,6 +6,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <vsprintf.h> #include <asm/io.h> #include <asm/arch/at91sam9x5_matrix.h> diff --git a/board/atmel/common/mac-spi-nor.c b/board/atmel/common/mac-spi-nor.c index 96343678e0b..ced27b65e63 100644 --- a/board/atmel/common/mac-spi-nor.c +++ b/board/atmel/common/mac-spi-nor.c @@ -8,6 +8,7 @@ #include <common.h> #include <dm.h> #include <env.h> +#include <net.h> #include <linux/mtd/spi-nor.h> #include <netdev.h> diff --git a/board/atmel/common/mac_eeprom.c b/board/atmel/common/mac_eeprom.c index 050aa51ee1f..2205dd30f8f 100644 --- a/board/atmel/common/mac_eeprom.c +++ b/board/atmel/common/mac_eeprom.c @@ -9,6 +9,7 @@ #include <eeprom.h> #include <env.h> #include <i2c_eeprom.h> +#include <net.h> #include <netdev.h> int at91_set_ethaddr(int offset) diff --git a/board/bachmann/ot1200/ot1200.c b/board/bachmann/ot1200/ot1200.c index 36f37084b36..dd7863f7acc 100644 --- a/board/bachmann/ot1200/ot1200.c +++ b/board/bachmann/ot1200/ot1200.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> diff --git a/board/barco/platinum/platinum.c b/board/barco/platinum/platinum.c index c2c7c095536..7984647e3a3 100644 --- a/board/barco/platinum/platinum.c +++ b/board/barco/platinum/platinum.c @@ -9,6 +9,7 @@ #include <mmc.h> #include <fsl_esdhc_imx.h> #include <miiphy.h> +#include <net.h> #include <netdev.h> #include <asm/io.h> #include <asm/arch/clock.h> diff --git a/board/barco/titanium/titanium.c b/board/barco/titanium/titanium.c index 6348f123ad4..016e0adc06a 100644 --- a/board/barco/titanium/titanium.c +++ b/board/barco/titanium/titanium.c @@ -5,6 +5,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> diff --git a/board/birdland/bav335x/board.c b/board/birdland/bav335x/board.c index 9eb851c3976..5900e654662 100644 --- a/board/birdland/bav335x/board.c +++ b/board/birdland/bav335x/board.c @@ -11,6 +11,7 @@ #include <env.h> #include <errno.h> #include <init.h> +#include <net.h> #include <serial.h> #include <spl.h> #include <asm/arch/cpu.h> diff --git a/board/bluegiga/apx4devkit/apx4devkit.c b/board/bluegiga/apx4devkit/apx4devkit.c index 9268aa0daaf..2599db7bf77 100644 --- a/board/bluegiga/apx4devkit/apx4devkit.c +++ b/board/bluegiga/apx4devkit/apx4devkit.c @@ -14,6 +14,7 @@ */ #include <common.h> +#include <net.h> #include <asm/gpio.h> #include <asm/io.h> #include <asm/setup.h> diff --git a/board/bosch/shc/board.c b/board/bosch/shc/board.c index d34f3ba0077..9698d8ee16a 100644 --- a/board/bosch/shc/board.c +++ b/board/bosch/shc/board.c @@ -17,6 +17,7 @@ #include <errno.h> #include <init.h> #include <irq_func.h> +#include <net.h> #include <spl.h> #include <asm/arch/cpu.h> #include <asm/arch/hardware.h> diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index 5018167fcf1..4d40cb8ff5f 100644 --- a/board/boundary/nitrogen6x/nitrogen6x.c +++ b/board/boundary/nitrogen6x/nitrogen6x.c @@ -6,6 +6,7 @@ #include <common.h> #include <env.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> diff --git a/board/broadcom/bcm_ep/board.c b/board/broadcom/bcm_ep/board.c index e4dbe426490..31cae470288 100644 --- a/board/broadcom/bcm_ep/board.c +++ b/board/broadcom/bcm_ep/board.c @@ -6,6 +6,8 @@ #include <common.h> #include <cpu_func.h> #include <init.h> +#include <net.h> +#include <asm/cache.h> #include <asm/io.h> #include <config.h> #include <netdev.h> diff --git a/board/broadcom/bcmns2/northstar2.c b/board/broadcom/bcmns2/northstar2.c index 6cbad9c1f0a..91f489aad3f 100644 --- a/board/broadcom/bcmns2/northstar2.c +++ b/board/broadcom/bcmns2/northstar2.c @@ -5,6 +5,7 @@ #include <common.h> #include <cpu_func.h> #include <init.h> +#include <asm/cache.h> #include <asm/system.h> #include <asm/armv8/mmu.h> diff --git a/board/cavium/thunderx/atf.c b/board/cavium/thunderx/atf.c index 2e7ba69d764..ea2f2bade00 100644 --- a/board/cavium/thunderx/atf.c +++ b/board/cavium/thunderx/atf.c @@ -4,6 +4,7 @@ **/ #include <common.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/system.h> diff --git a/board/cavium/thunderx/thunderx.c b/board/cavium/thunderx/thunderx.c index 687ade544ac..1b1b9d513c3 100644 --- a/board/cavium/thunderx/thunderx.c +++ b/board/cavium/thunderx/thunderx.c @@ -9,6 +9,7 @@ #include <init.h> #include <malloc.h> #include <errno.h> +#include <net.h> #include <linux/compiler.h> #include <cavium/atf.h> diff --git a/board/ccv/xpress/xpress.c b/board/ccv/xpress/xpress.c index 0caeea58853..dc86d43d9a1 100644 --- a/board/ccv/xpress/xpress.c +++ b/board/ccv/xpress/xpress.c @@ -4,6 +4,7 @@ */ #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/iomux.h> #include <asm/arch/imx-regs.h> diff --git a/board/cirrus/edb93xx/edb93xx.c b/board/cirrus/edb93xx/edb93xx.c index dfebb7c1c13..b64ec95e313 100644 --- a/board/cirrus/edb93xx/edb93xx.c +++ b/board/cirrus/edb93xx/edb93xx.c @@ -17,6 +17,7 @@ #include <common.h> #include <cpu_func.h> #include <irq_func.h> +#include <net.h> #include <netdev.h> #include <status_led.h> #include <asm/io.h> diff --git a/board/compulab/cl-som-imx7/cl-som-imx7.c b/board/compulab/cl-som-imx7/cl-som-imx7.c index 9277094e441..e97efc1dc33 100644 --- a/board/compulab/cl-som-imx7/cl-som-imx7.c +++ b/board/compulab/cl-som-imx7/cl-som-imx7.c @@ -11,6 +11,7 @@ #include <env.h> #include <init.h> #include <mmc.h> +#include <net.h> #include <phy.h> #include <netdev.h> #include <fsl_esdhc_imx.h> diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c index 3e185ad82a2..f0a821d9a9c 100644 --- a/board/compulab/cm_fx6/cm_fx6.c +++ b/board/compulab/cm_fx6/cm_fx6.c @@ -16,6 +16,7 @@ #include <init.h> #include <miiphy.h> #include <mtd_node.h> +#include <net.h> #include <netdev.h> #include <errno.h> #include <usb.h> diff --git a/board/compulab/cm_t335/cm_t335.c b/board/compulab/cm_t335/cm_t335.c index 561f2f30bb2..4497aa5af88 100644 --- a/board/compulab/cm_t335/cm_t335.c +++ b/board/compulab/cm_t335/cm_t335.c @@ -11,6 +11,7 @@ #include <env.h> #include <errno.h> #include <miiphy.h> +#include <net.h> #include <status_led.h> #include <cpsw.h> diff --git a/board/compulab/cm_t43/cm_t43.c b/board/compulab/cm_t43/cm_t43.c index 2aa453471d9..9348d6dcadf 100644 --- a/board/compulab/cm_t43/cm_t43.c +++ b/board/compulab/cm_t43/cm_t43.c @@ -7,6 +7,7 @@ #include <i2c.h> #include <miiphy.h> #include <cpsw.h> +#include <net.h> #include <asm/gpio.h> #include <asm/arch/sys_proto.h> #include <asm/emif.h> diff --git a/board/compulab/cm_t54/cm_t54.c b/board/compulab/cm_t54/cm_t54.c index 811bbb528a8..0efbf761da8 100644 --- a/board/compulab/cm_t54/cm_t54.c +++ b/board/compulab/cm_t54/cm_t54.c @@ -10,6 +10,7 @@ #include <common.h> #include <env.h> #include <fdt_support.h> +#include <net.h> #include <usb.h> #include <mmc.h> #include <palmas.h> diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c b/board/congatec/cgtqmx6eval/cgtqmx6eval.c index 49c731f8911..16f655f188e 100644 --- a/board/congatec/cgtqmx6eval/cgtqmx6eval.c +++ b/board/congatec/cgtqmx6eval/cgtqmx6eval.c @@ -8,6 +8,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> diff --git a/board/creative/xfi3/xfi3.c b/board/creative/xfi3/xfi3.c index 228a3943c09..66781ef3161 100644 --- a/board/creative/xfi3/xfi3.c +++ b/board/creative/xfi3/xfi3.c @@ -11,6 +11,7 @@ #include <common.h> #include <errno.h> +#include <net.h> #include <asm/gpio.h> #include <asm/io.h> #include <asm/arch/iomux-mx23.h> diff --git a/board/dhelectronics/dh_stm32mp1/board.c b/board/dhelectronics/dh_stm32mp1/board.c index 7bcd713a862..916d06bfeaf 100644 --- a/board/dhelectronics/dh_stm32mp1/board.c +++ b/board/dhelectronics/dh_stm32mp1/board.c @@ -5,6 +5,7 @@ #include <common.h> #include <adc.h> +#include <net.h> #include <asm/arch/stm32.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/el/el6x/el6x.c b/board/el/el6x/el6x.c index 03e9364765d..286c1adabc6 100644 --- a/board/el/el6x/el6x.c +++ b/board/el/el6x/el6x.c @@ -7,6 +7,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> #include <asm/arch/iomux.h> diff --git a/board/embest/mx6boards/mx6boards.c b/board/embest/mx6boards/mx6boards.c index b644f273fe2..50b6f98c296 100644 --- a/board/embest/mx6boards/mx6boards.c +++ b/board/embest/mx6boards/mx6boards.c @@ -14,6 +14,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/sys_proto.h> #include <asm/arch/imx-regs.h> diff --git a/board/esd/meesc/meesc.c b/board/esd/meesc/meesc.c index 6c5992733cc..fd7d6db9bc2 100644 --- a/board/esd/meesc/meesc.c +++ b/board/esd/meesc/meesc.c @@ -12,6 +12,7 @@ #include <common.h> #include <env.h> #include <init.h> +#include <net.h> #include <serial.h> #include <vsprintf.h> #include <asm/io.h> diff --git a/board/esd/vme8349/vme8349.c b/board/esd/vme8349/vme8349.c index ff811643a67..f54c89d154b 100644 --- a/board/esd/vme8349/vme8349.c +++ b/board/esd/vme8349/vme8349.c @@ -16,6 +16,7 @@ #include <init.h> #include <ioports.h> #include <mpc83xx.h> +#include <net.h> #include <asm/mpc8349_pci.h> #if defined(CONFIG_OF_LIBFDT) #include <linux/libfdt.h> diff --git a/board/freescale/b4860qds/eth_b4860qds.c b/board/freescale/b4860qds/eth_b4860qds.c index 67fb1b9b2bc..95ec0b9a736 100644 --- a/board/freescale/b4860qds/eth_b4860qds.c +++ b/board/freescale/b4860qds/eth_b4860qds.c @@ -19,6 +19,7 @@ */ #include <common.h> +#include <net.h> #include <netdev.h> #include <asm/fsl_serdes.h> #include <fm_eth.h> diff --git a/board/freescale/bsc9132qds/bsc9132qds.c b/board/freescale/bsc9132qds/bsc9132qds.c index ab05d84190f..89742dfedb8 100644 --- a/board/freescale/bsc9132qds/bsc9132qds.c +++ b/board/freescale/bsc9132qds/bsc9132qds.c @@ -5,6 +5,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/processor.h> #include <asm/mmu.h> #include <asm/cache.h> diff --git a/board/freescale/c29xpcie/c29xpcie.c b/board/freescale/c29xpcie/c29xpcie.c index a9ea986579a..17292936b76 100644 --- a/board/freescale/c29xpcie/c29xpcie.c +++ b/board/freescale/c29xpcie/c29xpcie.c @@ -5,6 +5,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/processor.h> #include <asm/mmu.h> #include <asm/cache.h> diff --git a/board/freescale/common/ns_access.c b/board/freescale/common/ns_access.c index 0e6f2135b4a..02845514edd 100644 --- a/board/freescale/common/ns_access.c +++ b/board/freescale/common/ns_access.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <asm/cache.h> #include <asm/io.h> #include <fsl_csu.h> #include <asm/arch/ns_access.h> diff --git a/board/freescale/corenet_ds/eth_hydra.c b/board/freescale/corenet_ds/eth_hydra.c index 45c23df27ef..a17ca7ac60a 100644 --- a/board/freescale/corenet_ds/eth_hydra.c +++ b/board/freescale/corenet_ds/eth_hydra.c @@ -48,6 +48,7 @@ */ #include <common.h> +#include <net.h> #include <netdev.h> #include <asm/fsl_serdes.h> #include <fm_eth.h> diff --git a/board/freescale/corenet_ds/eth_p4080.c b/board/freescale/corenet_ds/eth_p4080.c index 0979c5f4890..b1989bcbc23 100644 --- a/board/freescale/corenet_ds/eth_p4080.c +++ b/board/freescale/corenet_ds/eth_p4080.c @@ -5,6 +5,7 @@ #include <common.h> #include <command.h> +#include <net.h> #include <netdev.h> #include <asm/mmu.h> #include <asm/processor.h> diff --git a/board/freescale/corenet_ds/eth_superhydra.c b/board/freescale/corenet_ds/eth_superhydra.c index 1962b7e3c73..5adfecd2650 100644 --- a/board/freescale/corenet_ds/eth_superhydra.c +++ b/board/freescale/corenet_ds/eth_superhydra.c @@ -48,6 +48,7 @@ */ #include <common.h> +#include <net.h> #include <netdev.h> #include <asm/fsl_serdes.h> #include <fm_eth.h> diff --git a/board/freescale/ls1012afrdm/ls1012afrdm.c b/board/freescale/ls1012afrdm/ls1012afrdm.c index d138c9384eb..8260e7f7974 100644 --- a/board/freescale/ls1012afrdm/ls1012afrdm.c +++ b/board/freescale/ls1012afrdm/ls1012afrdm.c @@ -6,6 +6,7 @@ #include <common.h> #include <fdt_support.h> #include <i2c.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/fsl_serdes.h> diff --git a/board/freescale/ls1012aqds/ls1012aqds.c b/board/freescale/ls1012aqds/ls1012aqds.c index 30bf1047d53..e41f7e41bba 100644 --- a/board/freescale/ls1012aqds/ls1012aqds.c +++ b/board/freescale/ls1012aqds/ls1012aqds.c @@ -6,6 +6,7 @@ #include <common.h> #include <i2c.h> #include <fdt_support.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/fsl_serdes.h> diff --git a/board/freescale/ls1012ardb/ls1012ardb.c b/board/freescale/ls1012ardb/ls1012ardb.c index ab83ef11a09..8633268ed73 100644 --- a/board/freescale/ls1012ardb/ls1012ardb.c +++ b/board/freescale/ls1012ardb/ls1012ardb.c @@ -7,6 +7,7 @@ #include <fdt_support.h> #include <hang.h> #include <i2c.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/fsl_serdes.h> diff --git a/board/freescale/ls1021aiot/ls1021aiot.c b/board/freescale/ls1021aiot/ls1021aiot.c index b4201e76d1c..dca60b7401a 100644 --- a/board/freescale/ls1021aiot/ls1021aiot.c +++ b/board/freescale/ls1021aiot/ls1021aiot.c @@ -7,6 +7,7 @@ #include <clock_legacy.h> #include <fdt_support.h> #include <init.h> +#include <net.h> #include <asm/arch/immap_ls102xa.h> #include <asm/arch/clock.h> #include <asm/arch/fsl_serdes.h> diff --git a/board/freescale/ls1021aqds/eth.c b/board/freescale/ls1021aqds/eth.c index d0a98836e2b..2de62cf0952 100644 --- a/board/freescale/ls1021aqds/eth.c +++ b/board/freescale/ls1021aqds/eth.c @@ -14,6 +14,7 @@ */ #include <common.h> +#include <net.h> #include <netdev.h> #include <asm/arch/fsl_serdes.h> #include <fsl_mdio.h> diff --git a/board/freescale/ls1021atsn/ls1021atsn.c b/board/freescale/ls1021atsn/ls1021atsn.c index 3876910cbbe..0f940998bf5 100644 --- a/board/freescale/ls1021atsn/ls1021atsn.c +++ b/board/freescale/ls1021atsn/ls1021atsn.c @@ -5,6 +5,7 @@ #include <clock_legacy.h> #include <fdt_support.h> #include <init.h> +#include <net.h> #include <asm/arch-ls102xa/ls102xa_soc.h> #include <asm/arch/ls102xa_devdis.h> #include <asm/arch/immap_ls102xa.h> diff --git a/board/freescale/ls1021atwr/ls1021atwr.c b/board/freescale/ls1021atwr/ls1021atwr.c index d1ff7b8ba6f..acf146de4d6 100644 --- a/board/freescale/ls1021atwr/ls1021atwr.c +++ b/board/freescale/ls1021atwr/ls1021atwr.c @@ -9,6 +9,7 @@ #include <fdt_support.h> #include <i2c.h> #include <init.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/immap_ls102xa.h> #include <asm/arch/clock.h> diff --git a/board/freescale/ls1028a/ls1028a.c b/board/freescale/ls1028a/ls1028a.c index aa93534ac68..fb4101b80f9 100644 --- a/board/freescale/ls1028a/ls1028a.c +++ b/board/freescale/ls1028a/ls1028a.c @@ -7,6 +7,7 @@ #include <malloc.h> #include <errno.h> #include <fsl_ddr.h> +#include <net.h> #include <asm/io.h> #include <hwconfig.h> #include <fdt_support.h> diff --git a/board/freescale/ls1043aqds/eth.c b/board/freescale/ls1043aqds/eth.c index e1919d29885..b2709be8bee 100644 --- a/board/freescale/ls1043aqds/eth.c +++ b/board/freescale/ls1043aqds/eth.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <net.h> #include <asm/io.h> #include <netdev.h> #include <fdt_support.h> diff --git a/board/freescale/ls1043ardb/eth.c b/board/freescale/ls1043ardb/eth.c index a8d0c1109b4..4b9f94a0a56 100644 --- a/board/freescale/ls1043ardb/eth.c +++ b/board/freescale/ls1043ardb/eth.c @@ -3,6 +3,7 @@ * Copyright 2015 Freescale Semiconductor, Inc. */ #include <common.h> +#include <net.h> #include <asm/io.h> #include <netdev.h> #include <fm_eth.h> diff --git a/board/freescale/ls1046afrwy/eth.c b/board/freescale/ls1046afrwy/eth.c index d38e4d7ac7c..3f7c35b5c95 100644 --- a/board/freescale/ls1046afrwy/eth.c +++ b/board/freescale/ls1046afrwy/eth.c @@ -3,6 +3,7 @@ * Copyright 2019 NXP */ #include <common.h> +#include <net.h> #include <asm/io.h> #include <netdev.h> #include <fm_eth.h> diff --git a/board/freescale/ls1046aqds/eth.c b/board/freescale/ls1046aqds/eth.c index 1eb40677b50..0ce41d3e4e4 100644 --- a/board/freescale/ls1046aqds/eth.c +++ b/board/freescale/ls1046aqds/eth.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <net.h> #include <asm/io.h> #include <netdev.h> #include <fdt_support.h> diff --git a/board/freescale/ls1046ardb/eth.c b/board/freescale/ls1046ardb/eth.c index 7dbfcac307b..6ffd4aec3e4 100644 --- a/board/freescale/ls1046ardb/eth.c +++ b/board/freescale/ls1046ardb/eth.c @@ -3,6 +3,7 @@ * Copyright 2016 Freescale Semiconductor, Inc. */ #include <common.h> +#include <net.h> #include <asm/io.h> #include <netdev.h> #include <fm_eth.h> diff --git a/board/freescale/m5253demo/m5253demo.c b/board/freescale/m5253demo/m5253demo.c index 76c18b8504f..6a6c65fe5f2 100644 --- a/board/freescale/m5253demo/m5253demo.c +++ b/board/freescale/m5253demo/m5253demo.c @@ -9,6 +9,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/immap.h> #include <netdev.h> #include <asm/io.h> diff --git a/board/freescale/mpc8308rdb/mpc8308rdb.c b/board/freescale/mpc8308rdb/mpc8308rdb.c index ae73246e5bf..bd052b903d3 100644 --- a/board/freescale/mpc8308rdb/mpc8308rdb.c +++ b/board/freescale/mpc8308rdb/mpc8308rdb.c @@ -8,6 +8,7 @@ #include <hwconfig.h> #include <i2c.h> #include <init.h> +#include <net.h> #include <spi.h> #include <linux/libfdt.h> #include <fdt_support.h> diff --git a/board/freescale/mpc8315erdb/mpc8315erdb.c b/board/freescale/mpc8315erdb/mpc8315erdb.c index 93e0fca083f..204b40bf47b 100644 --- a/board/freescale/mpc8315erdb/mpc8315erdb.c +++ b/board/freescale/mpc8315erdb/mpc8315erdb.c @@ -10,6 +10,7 @@ #include <hwconfig.h> #include <i2c.h> #include <init.h> +#include <net.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <pci.h> diff --git a/board/freescale/mpc837xemds/mpc837xemds.c b/board/freescale/mpc837xemds/mpc837xemds.c index 1ae2308e9b8..90e95399d20 100644 --- a/board/freescale/mpc837xemds/mpc837xemds.c +++ b/board/freescale/mpc837xemds/mpc837xemds.c @@ -8,6 +8,7 @@ #include <hwconfig.h> #include <i2c.h> #include <init.h> +#include <net.h> #include <asm/io.h> #include <asm/fsl_mpc83xx_serdes.h> #include <spd_sdram.h> diff --git a/board/freescale/mpc8536ds/mpc8536ds.c b/board/freescale/mpc8536ds/mpc8536ds.c index e55ee400260..bfbb8a5fb7e 100644 --- a/board/freescale/mpc8536ds/mpc8536ds.c +++ b/board/freescale/mpc8536ds/mpc8536ds.c @@ -6,6 +6,7 @@ #include <common.h> #include <command.h> #include <init.h> +#include <net.h> #include <pci.h> #include <asm/processor.h> #include <asm/mmu.h> diff --git a/board/freescale/mpc8544ds/mpc8544ds.c b/board/freescale/mpc8544ds/mpc8544ds.c index 2d4aace98d0..85d370f6280 100644 --- a/board/freescale/mpc8544ds/mpc8544ds.c +++ b/board/freescale/mpc8544ds/mpc8544ds.c @@ -6,6 +6,7 @@ #include <common.h> #include <command.h> #include <init.h> +#include <net.h> #include <pci.h> #include <asm/processor.h> #include <asm/mmu.h> diff --git a/board/freescale/mpc8548cds/mpc8548cds.c b/board/freescale/mpc8548cds/mpc8548cds.c index a4455d3f612..454da1d7da6 100644 --- a/board/freescale/mpc8548cds/mpc8548cds.c +++ b/board/freescale/mpc8548cds/mpc8548cds.c @@ -7,6 +7,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <pci.h> #include <vsprintf.h> #include <asm/processor.h> diff --git a/board/freescale/mpc8572ds/mpc8572ds.c b/board/freescale/mpc8572ds/mpc8572ds.c index 4111d69b4b9..b7e0eeded52 100644 --- a/board/freescale/mpc8572ds/mpc8572ds.c +++ b/board/freescale/mpc8572ds/mpc8572ds.c @@ -7,6 +7,7 @@ #include <command.h> #include <env.h> #include <init.h> +#include <net.h> #include <pci.h> #include <asm/processor.h> #include <asm/mmu.h> diff --git a/board/freescale/mpc8610hpcd/mpc8610hpcd.c b/board/freescale/mpc8610hpcd/mpc8610hpcd.c index 86edd66bca2..fc331a995ad 100644 --- a/board/freescale/mpc8610hpcd/mpc8610hpcd.c +++ b/board/freescale/mpc8610hpcd/mpc8610hpcd.c @@ -6,6 +6,7 @@ #include <common.h> #include <command.h> #include <init.h> +#include <net.h> #include <pci.h> #include <asm/processor.h> #include <asm/immap_86xx.h> diff --git a/board/freescale/mpc8641hpcn/mpc8641hpcn.c b/board/freescale/mpc8641hpcn/mpc8641hpcn.c index d9e538b868f..57f91a42f58 100644 --- a/board/freescale/mpc8641hpcn/mpc8641hpcn.c +++ b/board/freescale/mpc8641hpcn/mpc8641hpcn.c @@ -5,6 +5,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <pci.h> #include <asm/processor.h> #include <asm/immap_86xx.h> diff --git a/board/freescale/mx28evk/mx28evk.c b/board/freescale/mx28evk/mx28evk.c index cfbe89ebfe0..e5fa4ae7659 100644 --- a/board/freescale/mx28evk/mx28evk.c +++ b/board/freescale/mx28evk/mx28evk.c @@ -12,6 +12,7 @@ */ #include <common.h> +#include <net.h> #include <asm/gpio.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> diff --git a/board/freescale/mx31pdk/mx31pdk.c b/board/freescale/mx31pdk/mx31pdk.c index fb57f263573..06fe51db717 100644 --- a/board/freescale/mx31pdk/mx31pdk.c +++ b/board/freescale/mx31pdk/mx31pdk.c @@ -9,6 +9,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <netdev.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> diff --git a/board/freescale/mx35pdk/mx35pdk.c b/board/freescale/mx35pdk/mx35pdk.c index d0f7f045a5b..dda20eed519 100644 --- a/board/freescale/mx35pdk/mx35pdk.c +++ b/board/freescale/mx35pdk/mx35pdk.c @@ -7,6 +7,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/io.h> #include <linux/errno.h> #include <asm/arch/imx-regs.h> diff --git a/board/freescale/mx53ard/mx53ard.c b/board/freescale/mx53ard/mx53ard.c index 33d056b47d4..fabcb03ac84 100644 --- a/board/freescale/mx53ard/mx53ard.c +++ b/board/freescale/mx53ard/mx53ard.c @@ -5,6 +5,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> #include <asm/arch/sys_proto.h> diff --git a/board/freescale/mx6qarm2/mx6qarm2.c b/board/freescale/mx6qarm2/mx6qarm2.c index 3957c09ac06..3866020a6d3 100644 --- a/board/freescale/mx6qarm2/mx6qarm2.c +++ b/board/freescale/mx6qarm2/mx6qarm2.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> #include <asm/arch/mx6-pins.h> diff --git a/board/freescale/mx6sabreauto/mx6sabreauto.c b/board/freescale/mx6sabreauto/mx6sabreauto.c index de19a562eb4..33da3914d3e 100644 --- a/board/freescale/mx6sabreauto/mx6sabreauto.c +++ b/board/freescale/mx6sabreauto/mx6sabreauto.c @@ -7,6 +7,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c index 07d3b0edb39..d46dcd4b8a7 100644 --- a/board/freescale/mx6sabresd/mx6sabresd.c +++ b/board/freescale/mx6sabresd/mx6sabresd.c @@ -6,6 +6,7 @@ */ #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> #include <asm/arch/iomux.h> diff --git a/board/freescale/mx6slevk/mx6slevk.c b/board/freescale/mx6slevk/mx6slevk.c index 43029e42453..38fc30553cd 100644 --- a/board/freescale/mx6slevk/mx6slevk.c +++ b/board/freescale/mx6slevk/mx6slevk.c @@ -5,6 +5,7 @@ * Author: Fabio Estevam <fabio.estevam at freescale.com> */ +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/iomux.h> #include <asm/arch/crm_regs.h> diff --git a/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c b/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c index 0c7904204f7..d01c74d241d 100644 --- a/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c +++ b/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c @@ -6,6 +6,7 @@ */ #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/crm_regs.h> #include <asm/arch/iomux.h> diff --git a/board/freescale/mx6sxsabresd/mx6sxsabresd.c b/board/freescale/mx6sxsabresd/mx6sxsabresd.c index 4f1d6602e50..a2c27823030 100644 --- a/board/freescale/mx6sxsabresd/mx6sxsabresd.c +++ b/board/freescale/mx6sxsabresd/mx6sxsabresd.c @@ -6,6 +6,7 @@ */ #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/crm_regs.h> #include <asm/arch/iomux.h> diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c index 9cb5b14f135..b25fe3c1ed1 100644 --- a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c +++ b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c @@ -4,6 +4,7 @@ */ #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/iomux.h> #include <asm/arch/imx-regs.h> diff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c index 41c620795cb..6d6763db6ac 100644 --- a/board/freescale/mx7dsabresd/mx7dsabresd.c +++ b/board/freescale/mx7dsabresd/mx7dsabresd.c @@ -4,6 +4,7 @@ */ #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> #include <asm/arch/mx7-pins.h> diff --git a/board/freescale/p1010rdb/p1010rdb.c b/board/freescale/p1010rdb/p1010rdb.c index a0866926832..ea9d04e4b99 100644 --- a/board/freescale/p1010rdb/p1010rdb.c +++ b/board/freescale/p1010rdb/p1010rdb.c @@ -5,6 +5,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/processor.h> #include <asm/mmu.h> #include <asm/cache.h> diff --git a/board/freescale/p1022ds/p1022ds.c b/board/freescale/p1022ds/p1022ds.c index ebf822acb5f..33edff9727d 100644 --- a/board/freescale/p1022ds/p1022ds.c +++ b/board/freescale/p1022ds/p1022ds.c @@ -9,6 +9,7 @@ #include <command.h> #include <env.h> #include <init.h> +#include <net.h> #include <pci.h> #include <asm/processor.h> #include <asm/mmu.h> diff --git a/board/freescale/p1023rdb/p1023rdb.c b/board/freescale/p1023rdb/p1023rdb.c index eeb13ccc9b9..5321e26a9cf 100644 --- a/board/freescale/p1023rdb/p1023rdb.c +++ b/board/freescale/p1023rdb/p1023rdb.c @@ -10,6 +10,7 @@ #include <command.h> #include <env.h> #include <init.h> +#include <net.h> #include <pci.h> #include <asm/io.h> #include <asm/cache.h> diff --git a/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c b/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c index 71fca8ca1e1..eb51ee9fd93 100644 --- a/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c +++ b/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c @@ -9,6 +9,7 @@ #include <hang.h> #include <hwconfig.h> #include <init.h> +#include <net.h> #include <pci.h> #include <i2c.h> #include <asm/processor.h> diff --git a/board/freescale/p1_twr/p1_twr.c b/board/freescale/p1_twr/p1_twr.c index 72fe1b41660..6d0e1b1ffa0 100644 --- a/board/freescale/p1_twr/p1_twr.c +++ b/board/freescale/p1_twr/p1_twr.c @@ -8,6 +8,7 @@ #include <env.h> #include <hwconfig.h> #include <init.h> +#include <net.h> #include <pci.h> #include <i2c.h> #include <asm/processor.h> diff --git a/board/freescale/p2041rdb/eth.c b/board/freescale/p2041rdb/eth.c index 854a839b8ce..32c68f2a718 100644 --- a/board/freescale/p2041rdb/eth.c +++ b/board/freescale/p2041rdb/eth.c @@ -13,6 +13,7 @@ */ #include <common.h> +#include <net.h> #include <netdev.h> #include <asm/fsl_serdes.h> #include <fm_eth.h> diff --git a/board/freescale/qemu-ppce500/qemu-ppce500.c b/board/freescale/qemu-ppce500/qemu-ppce500.c index e804cfe986b..fef7b8142ca 100644 --- a/board/freescale/qemu-ppce500/qemu-ppce500.c +++ b/board/freescale/qemu-ppce500/qemu-ppce500.c @@ -8,6 +8,7 @@ #include <cpu_func.h> #include <env.h> #include <init.h> +#include <net.h> #include <pci.h> #include <time.h> #include <asm/processor.h> diff --git a/board/freescale/t102xqds/eth_t102xqds.c b/board/freescale/t102xqds/eth_t102xqds.c index 5b65818eede..1820419511b 100644 --- a/board/freescale/t102xqds/eth_t102xqds.c +++ b/board/freescale/t102xqds/eth_t102xqds.c @@ -7,6 +7,7 @@ #include <common.h> #include <command.h> +#include <net.h> #include <netdev.h> #include <asm/mmu.h> #include <asm/processor.h> diff --git a/board/freescale/t102xrdb/eth_t102xrdb.c b/board/freescale/t102xrdb/eth_t102xrdb.c index 299b859cb64..d40b5901080 100644 --- a/board/freescale/t102xrdb/eth_t102xrdb.c +++ b/board/freescale/t102xrdb/eth_t102xrdb.c @@ -7,6 +7,7 @@ #include <common.h> #include <command.h> +#include <net.h> #include <netdev.h> #include <asm/mmu.h> #include <asm/processor.h> diff --git a/board/freescale/t1040qds/eth.c b/board/freescale/t1040qds/eth.c index 4185cfac12e..3f10e420a01 100644 --- a/board/freescale/t1040qds/eth.c +++ b/board/freescale/t1040qds/eth.c @@ -10,6 +10,7 @@ */ #include <common.h> +#include <net.h> #include <netdev.h> #include <asm/fsl_serdes.h> #include <asm/immap_85xx.h> diff --git a/board/freescale/t104xrdb/eth.c b/board/freescale/t104xrdb/eth.c index 107d28da33b..9cbc8754dc5 100644 --- a/board/freescale/t104xrdb/eth.c +++ b/board/freescale/t104xrdb/eth.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <net.h> #include <netdev.h> #include <asm/fsl_serdes.h> #include <asm/immap_85xx.h> diff --git a/board/freescale/t208xqds/eth_t208xqds.c b/board/freescale/t208xqds/eth_t208xqds.c index 23b59bcc09d..e178d7f2927 100644 --- a/board/freescale/t208xqds/eth_t208xqds.c +++ b/board/freescale/t208xqds/eth_t208xqds.c @@ -7,6 +7,7 @@ #include <common.h> #include <command.h> +#include <net.h> #include <netdev.h> #include <asm/mmu.h> #include <asm/processor.h> diff --git a/board/freescale/t208xrdb/eth_t208xrdb.c b/board/freescale/t208xrdb/eth_t208xrdb.c index 68949473040..669bc1efefb 100644 --- a/board/freescale/t208xrdb/eth_t208xrdb.c +++ b/board/freescale/t208xrdb/eth_t208xrdb.c @@ -7,6 +7,7 @@ #include <common.h> #include <command.h> +#include <net.h> #include <netdev.h> #include <asm/mmu.h> #include <asm/processor.h> diff --git a/board/freescale/t4qds/eth.c b/board/freescale/t4qds/eth.c index b341c82e676..d93d75950cb 100644 --- a/board/freescale/t4qds/eth.c +++ b/board/freescale/t4qds/eth.c @@ -5,6 +5,7 @@ #include <common.h> #include <command.h> +#include <net.h> #include <netdev.h> #include <asm/mmu.h> #include <asm/processor.h> diff --git a/board/freescale/t4rdb/eth.c b/board/freescale/t4rdb/eth.c index 2ef192c4522..3321ce1ea1c 100644 --- a/board/freescale/t4rdb/eth.c +++ b/board/freescale/t4rdb/eth.c @@ -7,6 +7,7 @@ #include <common.h> #include <command.h> +#include <net.h> #include <netdev.h> #include <asm/mmu.h> #include <asm/processor.h> diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index 8a694a71c90..6c818643192 100644 --- a/board/gateworks/gw_ventana/gw_ventana.c +++ b/board/gateworks/gw_ventana/gw_ventana.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/crm_regs.h> #include <asm/arch/iomux.h> diff --git a/board/gdsys/a38x/controlcenterdc.c b/board/gdsys/a38x/controlcenterdc.c index 4eb7d76660e..7aad6831273 100644 --- a/board/gdsys/a38x/controlcenterdc.c +++ b/board/gdsys/a38x/controlcenterdc.c @@ -8,6 +8,7 @@ #include <dm.h> #include <init.h> #include <miiphy.h> +#include <net.h> #include <tpm-v1.h> #include <asm/io.h> #include <asm/arch/cpu.h> diff --git a/board/gdsys/p1022/controlcenterd.c b/board/gdsys/p1022/controlcenterd.c index 8e868165ed6..14e3e25c18d 100644 --- a/board/gdsys/p1022/controlcenterd.c +++ b/board/gdsys/p1022/controlcenterd.c @@ -25,6 +25,7 @@ #include <command.h> #include <env.h> #include <init.h> +#include <net.h> #include <pci.h> #include <asm/processor.h> #include <asm/mmu.h> diff --git a/board/grinn/chiliboard/board.c b/board/grinn/chiliboard/board.c index 7f0de5e42b0..8cc9278287b 100644 --- a/board/grinn/chiliboard/board.c +++ b/board/grinn/chiliboard/board.c @@ -6,6 +6,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/arch/chilisom.h> #include <asm/arch/cpu.h> #include <asm/arch/hardware.h> diff --git a/board/gumstix/duovero/duovero.c b/board/gumstix/duovero/duovero.c index 78fb98ef645..cbb1cd0f8f1 100644 --- a/board/gumstix/duovero/duovero.c +++ b/board/gumstix/duovero/duovero.c @@ -5,6 +5,7 @@ * Maintainer: Ash Charles <ash at gumstix.com> */ #include <common.h> +#include <net.h> #include <netdev.h> #include <asm/arch/sys_proto.h> #include <asm/arch/mmc_host_def.h> diff --git a/board/gumstix/pepper/board.c b/board/gumstix/pepper/board.c index 65e5e1e60f2..2a6a449306d 100644 --- a/board/gumstix/pepper/board.c +++ b/board/gumstix/pepper/board.c @@ -9,6 +9,7 @@ #include <common.h> #include <env.h> #include <errno.h> +#include <net.h> #include <serial.h> #include <spl.h> #include <asm/arch/cpu.h> diff --git a/board/highbank/highbank.c b/board/highbank/highbank.c index 3e0edd48f51..f7f2e2c5259 100644 --- a/board/highbank/highbank.c +++ b/board/highbank/highbank.c @@ -7,6 +7,7 @@ #include <ahci.h> #include <cpu_func.h> #include <env.h> +#include <net.h> #include <netdev.h> #include <scsi.h> diff --git a/board/hisilicon/hikey960/hikey960.c b/board/hisilicon/hikey960/hikey960.c index 84c26e0c14f..0ed62c7d84d 100644 --- a/board/hisilicon/hikey960/hikey960.c +++ b/board/hisilicon/hikey960/hikey960.c @@ -8,6 +8,7 @@ #include <cpu_func.h> #include <dm.h> #include <errno.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch/hi3660.h> #include <asm/armv8/mmu.h> diff --git a/board/hisilicon/poplar/poplar.c b/board/hisilicon/poplar/poplar.c index 4937dc374c7..70a69f5b8c9 100644 --- a/board/hisilicon/poplar/poplar.c +++ b/board/hisilicon/poplar/poplar.c @@ -8,6 +8,7 @@ #include <cpu_func.h> #include <dm.h> #include <init.h> +#include <asm/cache.h> #include <asm/io.h> #include <dm/platform_data/serial_pl01x.h> #include <asm/arch/hi3798cv200.h> diff --git a/board/imgtec/malta/malta.c b/board/imgtec/malta/malta.c index 77ce75ecf26..80005ec3cc1 100644 --- a/board/imgtec/malta/malta.c +++ b/board/imgtec/malta/malta.c @@ -7,6 +7,7 @@ #include <common.h> #include <ide.h> #include <init.h> +#include <net.h> #include <netdev.h> #include <pci.h> #include <pci_gt64120.h> diff --git a/board/isee/igep003x/board.c b/board/isee/igep003x/board.c index b0f8d8a314a..a28d4478254 100644 --- a/board/isee/igep003x/board.c +++ b/board/isee/igep003x/board.c @@ -10,6 +10,7 @@ #include <errno.h> #include <init.h> #include <malloc.h> +#include <net.h> #include <serial.h> #include <spl.h> #include <asm/arch/cpu.h> diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c index 1b871fdcc5a..0ad601f39b6 100644 --- a/board/isee/igep00x0/igep00x0.c +++ b/board/isee/igep00x0/igep00x0.c @@ -6,6 +6,7 @@ #include <common.h> #include <env.h> #include <malloc.h> +#include <net.h> #include <status_led.h> #include <dm.h> #include <ns16550.h> diff --git a/board/k+p/kp_imx53/kp_id_rev.c b/board/k+p/kp_imx53/kp_id_rev.c index 9dae54dda5f..7103a3e0f2b 100644 --- a/board/k+p/kp_imx53/kp_id_rev.c +++ b/board/k+p/kp_imx53/kp_id_rev.c @@ -13,6 +13,7 @@ #include <env.h> #include <i2c.h> #include "kp_id_rev.h" +#include <net.h> static int eeprom_has_been_read; static struct id_eeprom eeprom; diff --git a/board/keymile/kmp204x/eth.c b/board/keymile/kmp204x/eth.c index 7499d2078b7..8635a5448b8 100644 --- a/board/keymile/kmp204x/eth.c +++ b/board/keymile/kmp204x/eth.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <net.h> #include <netdev.h> #include <fm_eth.h> #include <fsl_mdio.h> diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c index 6ef960b06ba..c6117b33bcf 100644 --- a/board/kmc/kzm9g/kzm9g.c +++ b/board/kmc/kzm9g/kzm9g.c @@ -6,6 +6,7 @@ #include <common.h> #include <cpu_func.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/kobol/helios4/helios4.c b/board/kobol/helios4/helios4.c index 3c3592ecf58..f8134b70421 100644 --- a/board/kobol/helios4/helios4.c +++ b/board/kobol/helios4/helios4.c @@ -7,6 +7,7 @@ #include <common.h> #include <i2c.h> #include <miiphy.h> +#include <net.h> #include <netdev.h> #include <asm/io.h> #include <asm/arch/cpu.h> diff --git a/board/liebherr/xea/xea.c b/board/liebherr/xea/xea.c index df5d316717f..1a9c05275f8 100644 --- a/board/liebherr/xea/xea.c +++ b/board/liebherr/xea/xea.c @@ -14,6 +14,7 @@ */ #include <common.h> +#include <net.h> #include <asm/gpio.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> diff --git a/board/logicpd/am3517evm/am3517evm.c b/board/logicpd/am3517evm/am3517evm.c index 18f3c3f9d9c..6ed3a9b8475 100644 --- a/board/logicpd/am3517evm/am3517evm.c +++ b/board/logicpd/am3517evm/am3517evm.c @@ -12,6 +12,7 @@ #include <common.h> #include <dm.h> +#include <net.h> #include <ns16550.h> #include <serial.h> #include <asm/io.h> diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c index 21d8a21010e..5c178a27e72 100644 --- a/board/logicpd/omap3som/omap3logic.c +++ b/board/logicpd/omap3som/omap3logic.c @@ -13,6 +13,7 @@ #include <common.h> #include <dm.h> #include <init.h> +#include <net.h> #include <ns16550.h> #include <netdev.h> #include <flash.h> diff --git a/board/logicpd/zoom1/zoom1.c b/board/logicpd/zoom1/zoom1.c index 6bfa41737f6..7438d379237 100644 --- a/board/logicpd/zoom1/zoom1.c +++ b/board/logicpd/zoom1/zoom1.c @@ -16,6 +16,7 @@ #include <common.h> #include <dm.h> #include <env.h> +#include <net.h> #include <ns16550.h> #include <netdev.h> #include <twl4030.h> diff --git a/board/mpc8308_p1m/mpc8308_p1m.c b/board/mpc8308_p1m/mpc8308_p1m.c index 5b2fd9c23f6..caa6187ffe6 100644 --- a/board/mpc8308_p1m/mpc8308_p1m.c +++ b/board/mpc8308_p1m/mpc8308_p1m.c @@ -7,6 +7,7 @@ #include <common.h> #include <i2c.h> #include <init.h> +#include <net.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <pci.h> diff --git a/board/nvidia/p2371-2180/p2371-2180.c b/board/nvidia/p2371-2180/p2371-2180.c index 1756bbca985..b92f0974af5 100644 --- a/board/nvidia/p2371-2180/p2371-2180.c +++ b/board/nvidia/p2371-2180/p2371-2180.c @@ -8,6 +8,7 @@ #include <env.h> #include <fdtdec.h> #include <i2c.h> +#include <net.h> #include <linux/libfdt.h> #include <asm/arch/gpio.h> #include <asm/arch/pinmux.h> diff --git a/board/nvidia/p2771-0000/p2771-0000.c b/board/nvidia/p2771-0000/p2771-0000.c index 63cdb3a604b..e552877fdcd 100644 --- a/board/nvidia/p2771-0000/p2771-0000.c +++ b/board/nvidia/p2771-0000/p2771-0000.c @@ -7,6 +7,7 @@ #include <env.h> #include <fdtdec.h> #include <i2c.h> +#include <net.h> #include <linux/libfdt.h> #include <asm/arch-tegra/cboot.h> #include "../p2571/max77620_init.h" diff --git a/board/overo/overo.c b/board/overo/overo.c index baa7997477e..f7da1a95ea9 100644 --- a/board/overo/overo.c +++ b/board/overo/overo.c @@ -15,6 +15,7 @@ #include <dm.h> #include <env.h> #include <malloc.h> +#include <net.h> #include <ns16550.h> #include <netdev.h> #include <twl4030.h> diff --git a/board/phytec/pcm051/board.c b/board/phytec/pcm051/board.c index 43f6c5afcb8..e561c822531 100644 --- a/board/phytec/pcm051/board.c +++ b/board/phytec/pcm051/board.c @@ -11,6 +11,7 @@ #include <common.h> #include <env.h> #include <errno.h> +#include <net.h> #include <spl.h> #include <asm/arch/cpu.h> #include <asm/arch/hardware.h> diff --git a/board/phytec/pcm058/pcm058.c b/board/phytec/pcm058/pcm058.c index 820b5fde142..b1bf8d50f81 100644 --- a/board/phytec/pcm058/pcm058.c +++ b/board/phytec/pcm058/pcm058.c @@ -11,6 +11,7 @@ */ #include <common.h> #include <init.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> diff --git a/board/phytec/pfla02/pfla02.c b/board/phytec/pfla02/pfla02.c index a3af823ef6b..7439aa56ad8 100644 --- a/board/phytec/pfla02/pfla02.c +++ b/board/phytec/pfla02/pfla02.c @@ -6,6 +6,7 @@ #include <common.h> #include <cpu_func.h> #include <init.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> diff --git a/board/phytec/phycore_rk3288/phycore-rk3288.c b/board/phytec/phycore_rk3288/phycore-rk3288.c index 039ed0f1bcc..236342c8d70 100644 --- a/board/phytec/phycore_rk3288/phycore-rk3288.c +++ b/board/phytec/phycore_rk3288/phycore-rk3288.c @@ -6,6 +6,7 @@ #include <eeprom.h> #include <init.h> +#include <net.h> #include <asm/io.h> #include <common.h> #include <dm.h> diff --git a/board/phytium/durian/durian.c b/board/phytium/durian/durian.c index 40dd27a7b0d..91d13bdea41 100644 --- a/board/phytium/durian/durian.c +++ b/board/phytium/durian/durian.c @@ -8,6 +8,7 @@ #include <common.h> #include <cpu_func.h> #include <asm/armv8/mmu.h> +#include <asm/cache.h> #include <asm/system.h> #include <asm/io.h> #include <linux/arm-smccc.h> diff --git a/board/ppcag/bg0900/bg0900.c b/board/ppcag/bg0900/bg0900.c index e3e8e74220d..00afff3abfa 100644 --- a/board/ppcag/bg0900/bg0900.c +++ b/board/ppcag/bg0900/bg0900.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <net.h> #include <asm/gpio.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> diff --git a/board/qemu-mips/qemu-mips.c b/board/qemu-mips/qemu-mips.c index 414a9c001dc..b3e0830843b 100644 --- a/board/qemu-mips/qemu-mips.c +++ b/board/qemu-mips/qemu-mips.c @@ -6,6 +6,7 @@ #include <common.h> #include <command.h> +#include <net.h> #include <asm/mipsregs.h> #include <asm/io.h> #include <netdev.h> diff --git a/board/qualcomm/dragonboard410c/dragonboard410c.c b/board/qualcomm/dragonboard410c/dragonboard410c.c index 81bd8bd95b1..75505d0c189 100644 --- a/board/qualcomm/dragonboard410c/dragonboard410c.c +++ b/board/qualcomm/dragonboard410c/dragonboard410c.c @@ -10,7 +10,9 @@ #include <dm.h> #include <env.h> #include <init.h> +#include <net.h> #include <usb.h> +#include <asm/cache.h> #include <asm/gpio.h> #include <fdt_support.h> #include <asm/arch/dram.h> diff --git a/board/qualcomm/dragonboard820c/dragonboard820c.c b/board/qualcomm/dragonboard820c/dragonboard820c.c index 6c096b49a1f..3134415d804 100644 --- a/board/qualcomm/dragonboard820c/dragonboard820c.c +++ b/board/qualcomm/dragonboard820c/dragonboard820c.c @@ -8,6 +8,7 @@ #include <cpu_func.h> #include <asm/arch/sysmap-apq8096.h> #include <env.h> +#include <asm/cache.h> #include <linux/arm-smccc.h> #include <linux/psci.h> #include <common.h> diff --git a/board/renesas/MigoR/migo_r.c b/board/renesas/MigoR/migo_r.c index 767c45cc9c8..3ffd9ad75d1 100644 --- a/board/renesas/MigoR/migo_r.c +++ b/board/renesas/MigoR/migo_r.c @@ -10,6 +10,7 @@ */ #include <common.h> +#include <net.h> #include <netdev.h> #include <asm/io.h> #include <asm/processor.h> diff --git a/board/renesas/blanche/blanche.c b/board/renesas/blanche/blanche.c index c15387366c7..892f7e72609 100644 --- a/board/renesas/blanche/blanche.c +++ b/board/renesas/blanche/blanche.c @@ -8,6 +8,7 @@ #include <common.h> #include <cpu_func.h> +#include <net.h> #include <asm/arch/mmc.h> #include <asm/arch/rcar-mstp.h> #include <asm/arch/rmobile.h> diff --git a/board/renesas/r2dplus/r2dplus.c b/board/renesas/r2dplus/r2dplus.c index f2da4686c3f..e4d0967c14c 100644 --- a/board/renesas/r2dplus/r2dplus.c +++ b/board/renesas/r2dplus/r2dplus.c @@ -7,6 +7,7 @@ #include <common.h> #include <ide.h> #include <init.h> +#include <net.h> #include <netdev.h> #include <asm/processor.h> #include <asm/io.h> diff --git a/board/renesas/r7780mp/r7780mp.c b/board/renesas/r7780mp/r7780mp.c index 8dbeeb6e680..120464ced46 100644 --- a/board/renesas/r7780mp/r7780mp.c +++ b/board/renesas/r7780mp/r7780mp.c @@ -7,6 +7,7 @@ #include <common.h> #include <ide.h> #include <init.h> +#include <net.h> #include <asm/processor.h> #include <asm/io.h> #include <asm/pci.h> diff --git a/board/renesas/sh7752evb/sh7752evb.c b/board/renesas/sh7752evb/sh7752evb.c index 135aaa5234c..565ce5f5d1c 100644 --- a/board/renesas/sh7752evb/sh7752evb.c +++ b/board/renesas/sh7752evb/sh7752evb.c @@ -8,6 +8,7 @@ #include <flash.h> #include <init.h> #include <malloc.h> +#include <net.h> #include <asm/processor.h> #include <asm/io.h> #include <asm/mmc.h> diff --git a/board/renesas/sh7753evb/sh7753evb.c b/board/renesas/sh7753evb/sh7753evb.c index fbfc49ee01d..0a762bc5536 100644 --- a/board/renesas/sh7753evb/sh7753evb.c +++ b/board/renesas/sh7753evb/sh7753evb.c @@ -8,6 +8,7 @@ #include <flash.h> #include <init.h> #include <malloc.h> +#include <net.h> #include <asm/processor.h> #include <asm/io.h> #include <asm/mmc.h> diff --git a/board/renesas/sh7757lcr/sh7757lcr.c b/board/renesas/sh7757lcr/sh7757lcr.c index ed041b14ee8..eef5d36fd5d 100644 --- a/board/renesas/sh7757lcr/sh7757lcr.c +++ b/board/renesas/sh7757lcr/sh7757lcr.c @@ -8,6 +8,7 @@ #include <flash.h> #include <init.h> #include <malloc.h> +#include <net.h> #include <asm/processor.h> #include <asm/io.h> #include <asm/mmc.h> diff --git a/board/rockchip/tinker_rk3288/tinker-rk3288.c b/board/rockchip/tinker_rk3288/tinker-rk3288.c index 7af39e10cd5..f85209c6498 100644 --- a/board/rockchip/tinker_rk3288/tinker-rk3288.c +++ b/board/rockchip/tinker_rk3288/tinker-rk3288.c @@ -9,6 +9,7 @@ #include <env.h> #include <i2c_eeprom.h> #include <init.h> +#include <net.h> #include <netdev.h> #include <asm/arch-rockchip/bootrom.h> #include <asm/io.h> diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c index 390060e51f7..948007c4a83 100644 --- a/board/samsung/common/board.c +++ b/board/samsung/common/board.c @@ -10,6 +10,7 @@ #include <fdtdec.h> #include <hang.h> #include <init.h> +#include <net.h> #include <spi.h> #include <tmu.h> #include <netdev.h> diff --git a/board/samsung/smdkc100/smdkc100.c b/board/samsung/smdkc100/smdkc100.c index a80300b0c00..fc2c2a94dce 100644 --- a/board/samsung/smdkc100/smdkc100.c +++ b/board/samsung/smdkc100/smdkc100.c @@ -7,6 +7,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/gpio.h> #include <asm/io.h> #include <asm/arch/sromc.h> diff --git a/board/samsung/smdkv310/smdkv310.c b/board/samsung/smdkv310/smdkv310.c index 05369d22271..9b6502386e1 100644 --- a/board/samsung/smdkv310/smdkv310.c +++ b/board/samsung/smdkv310/smdkv310.c @@ -5,6 +5,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/gpio.h> #include <asm/io.h> #include <netdev.h> diff --git a/board/sandisk/sansa_fuze_plus/sfp.c b/board/sandisk/sansa_fuze_plus/sfp.c index 663eddac119..c2c9b9c7e7b 100644 --- a/board/sandisk/sansa_fuze_plus/sfp.c +++ b/board/sandisk/sansa_fuze_plus/sfp.c @@ -11,6 +11,7 @@ #include <common.h> #include <errno.h> +#include <net.h> #include <asm/gpio.h> #include <asm/io.h> #include <asm/arch/iomux-mx23.h> diff --git a/board/sbc8548/sbc8548.c b/board/sbc8548/sbc8548.c index d246dce36d0..c0e14cd5aa4 100644 --- a/board/sbc8548/sbc8548.c +++ b/board/sbc8548/sbc8548.c @@ -11,6 +11,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <pci.h> #include <asm/processor.h> #include <asm/immap_85xx.h> diff --git a/board/schulercontrol/sc_sps_1/sc_sps_1.c b/board/schulercontrol/sc_sps_1/sc_sps_1.c index 41090dda109..422f25c2e91 100644 --- a/board/schulercontrol/sc_sps_1/sc_sps_1.c +++ b/board/schulercontrol/sc_sps_1/sc_sps_1.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <net.h> #include <asm/gpio.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> diff --git a/board/seco/mx6quq7/mx6quq7.c b/board/seco/mx6quq7/mx6quq7.c index fabc348440d..b8aa0e7f694 100644 --- a/board/seco/mx6quq7/mx6quq7.c +++ b/board/seco/mx6quq7/mx6quq7.c @@ -8,6 +8,7 @@ */ #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> #include <asm/arch/iomux.h> diff --git a/board/siemens/draco/board.c b/board/siemens/draco/board.c index 94bd71ad097..963de15fa87 100644 --- a/board/siemens/draco/board.c +++ b/board/siemens/draco/board.c @@ -16,6 +16,7 @@ #include <env.h> #include <errno.h> #include <init.h> +#include <net.h> #include <spl.h> #include <asm/arch/cpu.h> #include <asm/arch/hardware.h> diff --git a/board/siemens/pxm2/board.c b/board/siemens/pxm2/board.c index 58bb5bab1a1..792b9137df7 100644 --- a/board/siemens/pxm2/board.c +++ b/board/siemens/pxm2/board.c @@ -17,6 +17,7 @@ #include <errno.h> #include <init.h> #include <malloc.h> +#include <net.h> #include <spl.h> #include <asm/arch/cpu.h> #include <asm/arch/hardware.h> diff --git a/board/siemens/rut/board.c b/board/siemens/rut/board.c index bd4eaa4f3a5..fff2b696ced 100644 --- a/board/siemens/rut/board.c +++ b/board/siemens/rut/board.c @@ -15,6 +15,7 @@ #include <errno.h> #include <init.h> #include <malloc.h> +#include <net.h> #include <spi.h> #include <spl.h> #include <asm/arch/cpu.h> diff --git a/board/siemens/smartweb/smartweb.c b/board/siemens/smartweb/smartweb.c index cb7206a5616..40c9c7e21da 100644 --- a/board/siemens/smartweb/smartweb.c +++ b/board/siemens/smartweb/smartweb.c @@ -18,6 +18,7 @@ #include <common.h> #include <dm.h> #include <init.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/at91sam9_sdramc.h> #include <asm/arch/at91sam9260_matrix.h> diff --git a/board/silica/pengwyn/board.c b/board/silica/pengwyn/board.c index c0496c549ab..08eafefb91e 100644 --- a/board/silica/pengwyn/board.c +++ b/board/silica/pengwyn/board.c @@ -7,6 +7,7 @@ #include <common.h> #include <env.h> +#include <net.h> #include <serial.h> #include <asm/arch/cpu.h> #include <asm/arch/hardware.h> diff --git a/board/sks-kinkel/sksimx6/sksimx6.c b/board/sks-kinkel/sksimx6/sksimx6.c index fa2acf59a7a..48e7ff24798 100644 --- a/board/sks-kinkel/sksimx6/sksimx6.c +++ b/board/sks-kinkel/sksimx6/sksimx6.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> #include <asm/arch/iomux.h> diff --git a/board/softing/vining_2000/vining_2000.c b/board/softing/vining_2000/vining_2000.c index c74c06eaeec..f523e50ea56 100644 --- a/board/softing/vining_2000/vining_2000.c +++ b/board/softing/vining_2000/vining_2000.c @@ -7,6 +7,7 @@ */ #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/crm_regs.h> #include <asm/arch/iomux.h> diff --git a/board/softing/vining_fpga/socfpga.c b/board/softing/vining_fpga/socfpga.c index 5a88b6c8ade..537d9d18721 100644 --- a/board/softing/vining_fpga/socfpga.c +++ b/board/softing/vining_fpga/socfpga.c @@ -7,6 +7,7 @@ #include <eeprom.h> #include <env.h> #include <init.h> +#include <net.h> #include <status_led.h> #include <asm/arch/reset_manager.h> #include <asm/io.h> diff --git a/board/solidrun/clearfog/clearfog.c b/board/solidrun/clearfog/clearfog.c index e268ef55a2a..f3483a7aed0 100644 --- a/board/solidrun/clearfog/clearfog.c +++ b/board/solidrun/clearfog/clearfog.c @@ -6,6 +6,7 @@ #include <common.h> #include <i2c.h> #include <miiphy.h> +#include <net.h> #include <netdev.h> #include <asm/io.h> #include <asm/arch/cpu.h> diff --git a/board/solidrun/mx6cuboxi/mx6cuboxi.c b/board/solidrun/mx6cuboxi/mx6cuboxi.c index 13f77a3db27..262f6640d9d 100644 --- a/board/solidrun/mx6cuboxi/mx6cuboxi.c +++ b/board/solidrun/mx6cuboxi/mx6cuboxi.c @@ -15,6 +15,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> #include <asm/arch/iomux.h> diff --git a/board/spear/spear300/spear300.c b/board/spear/spear300/spear300.c index 83fdf027e9e..c531eb3fc62 100644 --- a/board/spear/spear300/spear300.c +++ b/board/spear/spear300/spear300.c @@ -6,6 +6,7 @@ #include <common.h> #include <miiphy.h> +#include <net.h> #include <netdev.h> #include <nand.h> #include <asm/io.h> diff --git a/board/spear/spear310/spear310.c b/board/spear/spear310/spear310.c index 1b3478a9fb1..6e88547e1c3 100644 --- a/board/spear/spear310/spear310.c +++ b/board/spear/spear310/spear310.c @@ -7,6 +7,7 @@ #include <common.h> #include <miiphy.h> +#include <net.h> #include <netdev.h> #include <nand.h> #include <asm/io.h> diff --git a/board/spear/spear320/spear320.c b/board/spear/spear320/spear320.c index 640242e718a..d8b1e7de4ed 100644 --- a/board/spear/spear320/spear320.c +++ b/board/spear/spear320/spear320.c @@ -7,6 +7,7 @@ #include <common.h> #include <miiphy.h> +#include <net.h> #include <netdev.h> #include <nand.h> #include <asm/io.h> diff --git a/board/spear/spear600/spear600.c b/board/spear/spear600/spear600.c index 91c2691b860..241f123ae11 100644 --- a/board/spear/spear600/spear600.c +++ b/board/spear/spear600/spear600.c @@ -6,6 +6,7 @@ #include <common.h> #include <miiphy.h> +#include <net.h> #include <netdev.h> #include <nand.h> #include <asm/io.h> diff --git a/board/spear/x600/x600.c b/board/spear/x600/x600.c index 7cff6eecf25..e6f8dc90839 100644 --- a/board/spear/x600/x600.c +++ b/board/spear/x600/x600.c @@ -11,6 +11,7 @@ #include <init.h> #include <micrel.h> #include <nand.h> +#include <net.h> #include <netdev.h> #include <phy.h> #include <rtc.h> diff --git a/board/st/stih410-b2260/board.c b/board/st/stih410-b2260/board.c index 5d9fdf27b25..35bf497156d 100644 --- a/board/st/stih410-b2260/board.c +++ b/board/st/stih410-b2260/board.c @@ -6,6 +6,7 @@ #include <common.h> #include <cpu_func.h> +#include <asm/cache.h> #include <linux/usb/otg.h> #include <dwc3-sti-glue.h> #include <dwc3-uboot.h> diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c index 07f5344ec90..f89c3a19e44 100644 --- a/board/st/stm32mp1/stm32mp1.c +++ b/board/st/stm32mp1/stm32mp1.c @@ -22,6 +22,7 @@ #include <misc.h> #include <mtd.h> #include <mtd_node.h> +#include <net.h> #include <netdev.h> #include <phy.h> #include <remoteproc.h> diff --git a/board/st/stv0991/stv0991.c b/board/st/stv0991/stv0991.c index 33b29e647e9..f193e833619 100644 --- a/board/st/stv0991/stv0991.c +++ b/board/st/stv0991/stv0991.c @@ -7,6 +7,7 @@ #include <common.h> #include <dm.h> #include <miiphy.h> +#include <net.h> #include <asm/arch/stv0991_periph.h> #include <asm/arch/stv0991_defs.h> #include <asm/arch/hardware.h> diff --git a/board/synopsys/axs10x/axs10x.c b/board/synopsys/axs10x/axs10x.c index fa982bda5cc..4bd88f85a62 100644 --- a/board/synopsys/axs10x/axs10x.c +++ b/board/synopsys/axs10x/axs10x.c @@ -9,6 +9,7 @@ #include <malloc.h> #include <asm/arcregs.h> #include "axs10x.h" +#include <asm/cache.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/synopsys/hsdk/hsdk.c b/board/synopsys/hsdk/hsdk.c index 67a29e334d7..66135ad2a9a 100644 --- a/board/synopsys/hsdk/hsdk.c +++ b/board/synopsys/hsdk/hsdk.c @@ -10,6 +10,7 @@ #include <env.h> #include <init.h> #include <irq_func.h> +#include <asm/cache.h> #include <linux/printk.h> #include <linux/kernel.h> #include <linux/io.h> diff --git a/board/tcl/sl50/board.c b/board/tcl/sl50/board.c index 7537fa213aa..afa6290a2a5 100644 --- a/board/tcl/sl50/board.c +++ b/board/tcl/sl50/board.c @@ -11,6 +11,7 @@ #include <env.h> #include <errno.h> #include <init.h> +#include <net.h> #include <serial.h> #include <spl.h> #include <asm/arch/cpu.h> diff --git a/board/technexion/pico-imx6/pico-imx6.c b/board/technexion/pico-imx6/pico-imx6.c index f8eeb40555b..146bbc26d6a 100644 --- a/board/technexion/pico-imx6/pico-imx6.c +++ b/board/technexion/pico-imx6/pico-imx6.c @@ -6,6 +6,7 @@ * Author: Fabio Estevam <festevam at gmail.com> */ +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/crm_regs.h> #include <asm/arch/iomux.h> diff --git a/board/technexion/pico-imx6ul/pico-imx6ul.c b/board/technexion/pico-imx6ul/pico-imx6ul.c index e27a03c2125..4294f3ed54d 100644 --- a/board/technexion/pico-imx6ul/pico-imx6ul.c +++ b/board/technexion/pico-imx6ul/pico-imx6ul.c @@ -5,6 +5,7 @@ * Author: Richard Hu <richard.hu at technexion.com> */ +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/iomux.h> #include <asm/arch/imx-regs.h> diff --git a/board/technexion/pico-imx7d/pico-imx7d.c b/board/technexion/pico-imx7d/pico-imx7d.c index b7ca2e1315e..a6fd49d729c 100644 --- a/board/technexion/pico-imx7d/pico-imx7d.c +++ b/board/technexion/pico-imx7d/pico-imx7d.c @@ -4,6 +4,7 @@ */ #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/crm_regs.h> #include <asm/arch/imx-regs.h> diff --git a/board/technologic/ts4800/ts4800.c b/board/technologic/ts4800/ts4800.c index ff1a189c7e9..f79e7747e28 100644 --- a/board/technologic/ts4800/ts4800.c +++ b/board/technologic/ts4800/ts4800.c @@ -8,6 +8,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/io.h> #include <asm/gpio.h> #include <asm/arch/imx-regs.h> diff --git a/board/theadorable/theadorable.c b/board/theadorable/theadorable.c index 621e26905ba..9af1799fa5e 100644 --- a/board/theadorable/theadorable.c +++ b/board/theadorable/theadorable.c @@ -7,6 +7,7 @@ #include <console.h> #include <i2c.h> #include <init.h> +#include <net.h> #include <pci.h> #if !defined(CONFIG_SPL_BUILD) #include <bootcount.h> diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index 01b28e8da46..c6de8602d08 100644 --- a/board/ti/am335x/board.c +++ b/board/ti/am335x/board.c @@ -13,6 +13,7 @@ #include <errno.h> #include <init.h> #include <malloc.h> +#include <net.h> #include <spl.h> #include <serial.h> #include <asm/arch/cpu.h> diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c index 21fc5ed1d3d..87c7ef6b3f5 100644 --- a/board/ti/am43xx/board.c +++ b/board/ti/am43xx/board.c @@ -14,6 +14,7 @@ #include <fdt_support.h> #include <i2c.h> #include <init.h> +#include <net.h> #include <linux/errno.h> #include <spl.h> #include <usb.h> diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index 34ca3ec9b02..c80a458c125 100644 --- a/board/ti/am57xx/board.c +++ b/board/ti/am57xx/board.c @@ -12,6 +12,7 @@ #include <fdt_support.h> #include <init.h> #include <malloc.h> +#include <net.h> #include <palmas.h> #include <sata.h> #include <serial.h> diff --git a/board/ti/am65x/evm.c b/board/ti/am65x/evm.c index a6108794243..9d96710f056 100644 --- a/board/ti/am65x/evm.c +++ b/board/ti/am65x/evm.c @@ -10,6 +10,7 @@ #include <common.h> #include <dm.h> #include <init.h> +#include <net.h> #include <asm/arch/sys_proto.h> #include <asm/arch/hardware.h> #include <asm/gpio.h> diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index 12e657c9c61..cb3a12ec373 100644 --- a/board/ti/beagle/beagle.c +++ b/board/ti/beagle/beagle.c @@ -15,6 +15,7 @@ #include <common.h> #include <dm.h> #include <env.h> +#include <net.h> #include <ns16550.h> #include <serial.h> #ifdef CONFIG_LED_STATUS diff --git a/board/ti/common/board_detect.c b/board/ti/common/board_detect.c index cbd35f24342..3938dea4300 100644 --- a/board/ti/common/board_detect.c +++ b/board/ti/common/board_detect.c @@ -9,6 +9,7 @@ #include <common.h> #include <eeprom.h> +#include <net.h> #include <asm/arch/hardware.h> #include <asm/omap_common.h> #include <dm/uclass.h> diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index 8132cdfbf2f..8f595989507 100644 --- a/board/ti/dra7xx/evm.c +++ b/board/ti/dra7xx/evm.c @@ -14,6 +14,7 @@ #include <fdt_support.h> #include <init.h> #include <spl.h> +#include <net.h> #include <palmas.h> #include <sata.h> #include <serial.h> diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c index d26dd5ba840..7161c934cd4 100644 --- a/board/ti/evm/evm.c +++ b/board/ti/evm/evm.c @@ -13,6 +13,7 @@ #include <common.h> #include <dm.h> #include <env.h> +#include <net.h> #include <ns16550.h> #include <netdev.h> #include <serial.h> diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index c068bb86b59..7bc03edd53f 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti/j721e/evm.c @@ -9,6 +9,7 @@ #include <common.h> #include <init.h> +#include <net.h> #include <asm/arch/sys_proto.h> #include <asm/arch/hardware.h> #include <asm/gpio.h> diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c index ee7efcbfa7c..0d19ad018a2 100644 --- a/board/ti/omap5_uevm/evm.c +++ b/board/ti/omap5_uevm/evm.c @@ -6,6 +6,7 @@ * Steve Sakoman <steve at sakoman.com> */ #include <common.h> +#include <net.h> #include <palmas.h> #include <asm/arch/omap.h> #include <asm/arch/sys_proto.h> diff --git a/board/ti/panda/panda.c b/board/ti/panda/panda.c index 20199da390e..b1e51bc4310 100644 --- a/board/ti/panda/panda.c +++ b/board/ti/panda/panda.c @@ -5,6 +5,7 @@ * Steve Sakoman <steve at sakoman.com> */ #include <common.h> +#include <net.h> #include <asm/mach-types.h> #include <asm/arch/sys_proto.h> #include <asm/arch/mmc_host_def.h> diff --git a/board/ti/sdp4430/sdp.c b/board/ti/sdp4430/sdp.c index e71c53e5ee4..97da5ccf0da 100644 --- a/board/ti/sdp4430/sdp.c +++ b/board/ti/sdp4430/sdp.c @@ -6,6 +6,7 @@ * Steve Sakoman <steve at sakoman.com> */ #include <common.h> +#include <net.h> #include <twl6030.h> #include <asm/arch/sys_proto.h> #include <asm/arch/mmc_host_def.h> diff --git a/board/ti/ti814x/evm.c b/board/ti/ti814x/evm.c index 2b9385d14b4..7f82e71228f 100644 --- a/board/ti/ti814x/evm.c +++ b/board/ti/ti814x/evm.c @@ -11,6 +11,7 @@ #include <cpsw.h> #include <env.h> #include <errno.h> +#include <net.h> #include <spl.h> #include <asm/arch/cpu.h> #include <asm/arch/hardware.h> diff --git a/board/ti/ti816x/evm.c b/board/ti/ti816x/evm.c index 3896ebbfda2..e895a216fe9 100644 --- a/board/ti/ti816x/evm.c +++ b/board/ti/ti816x/evm.c @@ -8,6 +8,7 @@ #include <common.h> #include <env.h> +#include <net.h> #include <spl.h> #include <asm/cache.h> #include <asm/io.h> diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c index 3f85f1ac89b..3b5eabec775 100644 --- a/board/toradex/apalis_imx6/apalis_imx6.c +++ b/board/toradex/apalis_imx6/apalis_imx6.c @@ -10,6 +10,7 @@ #include <cpu_func.h> #include <dm.h> #include <init.h> +#include <net.h> #include <ahci.h> #include <asm/arch/clock.h> diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c index f04b7493119..b33cca1f061 100644 --- a/board/toradex/colibri_imx6/colibri_imx6.c +++ b/board/toradex/colibri_imx6/colibri_imx6.c @@ -11,6 +11,7 @@ #include <dm.h> #include <env.h> #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/crm_regs.h> diff --git a/board/toradex/colibri_imx7/colibri_imx7.c b/board/toradex/colibri_imx7/colibri_imx7.c index 8727101aa38..8e62b79ef36 100644 --- a/board/toradex/colibri_imx7/colibri_imx7.c +++ b/board/toradex/colibri_imx7/colibri_imx7.c @@ -6,6 +6,7 @@ #include <common.h> #include <cpu_func.h> #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/crm_regs.h> #include <asm/arch/imx-regs.h> diff --git a/board/toradex/colibri_pxa270/colibri_pxa270.c b/board/toradex/colibri_pxa270/colibri_pxa270.c index c4db516b074..93693712a9d 100644 --- a/board/toradex/colibri_pxa270/colibri_pxa270.c +++ b/board/toradex/colibri_pxa270/colibri_pxa270.c @@ -9,6 +9,7 @@ #include <common.h> #include <cpu_func.h> #include <dm.h> +#include <net.h> #include <asm/arch/hardware.h> #include <asm/arch/pxa.h> #include <asm/arch/regs-mmc.h> diff --git a/board/toradex/common/tdx-cfg-block.c b/board/toradex/common/tdx-cfg-block.c index 1b6c9114186..bd7d8b7f53f 100644 --- a/board/toradex/common/tdx-cfg-block.c +++ b/board/toradex/common/tdx-cfg-block.c @@ -5,6 +5,7 @@ #include <common.h> #include "tdx-cfg-block.h" +#include <asm/cache.h> #if defined(CONFIG_TARGET_APALIS_IMX6) || \ defined(CONFIG_TARGET_APALIS_IMX8) || \ diff --git a/board/tqc/tqma6/tqma6_mba6.c b/board/tqc/tqma6/tqma6_mba6.c index 154ea0e9258..5fea9d83347 100644 --- a/board/tqc/tqma6/tqma6_mba6.c +++ b/board/tqc/tqma6/tqma6_mba6.c @@ -8,6 +8,7 @@ */ #include <init.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/mx6-pins.h> diff --git a/board/tqc/tqma6/tqma6_wru4.c b/board/tqc/tqma6/tqma6_wru4.c index 1320f8ad78c..d64eff4ffa6 100644 --- a/board/tqc/tqma6/tqma6_wru4.c +++ b/board/tqc/tqma6/tqma6_wru4.c @@ -10,6 +10,7 @@ */ #include <init.h> +#include <net.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/mx6-pins.h> diff --git a/board/ucRobotics/bubblegum_96/bubblegum_96.c b/board/ucRobotics/bubblegum_96/bubblegum_96.c index c16f117bf8a..d680a82bda7 100644 --- a/board/ucRobotics/bubblegum_96/bubblegum_96.c +++ b/board/ucRobotics/bubblegum_96/bubblegum_96.c @@ -6,6 +6,7 @@ */ #include <cpu_func.h> +#include <asm/cache.h> #include <linux/arm-smccc.h> #include <linux/psci.h> #include <common.h> diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c index 2ba98c7b52e..096551b3c7a 100644 --- a/board/udoo/neo/neo.c +++ b/board/udoo/neo/neo.c @@ -9,6 +9,7 @@ */ #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/crm_regs.h> #include <asm/arch/imx-regs.h> diff --git a/board/udoo/udoo.c b/board/udoo/udoo.c index 2a4e790d88a..0370db67e49 100644 --- a/board/udoo/udoo.c +++ b/board/udoo/udoo.c @@ -6,6 +6,7 @@ */ #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> #include <asm/arch/iomux.h> diff --git a/board/variscite/dart_6ul/dart_6ul.c b/board/variscite/dart_6ul/dart_6ul.c index 2d0b760c39f..0f00506d7aa 100644 --- a/board/variscite/dart_6ul/dart_6ul.c +++ b/board/variscite/dart_6ul/dart_6ul.c @@ -4,6 +4,7 @@ * Copyright (C) 2019 Parthiban Nallathambi <parthitce at gmail.com> */ +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/crm_regs.h> #include <asm/arch/mx6-pins.h> diff --git a/board/varisys/cyrus/eth.c b/board/varisys/cyrus/eth.c index 9783abd6595..45b21fba32b 100644 --- a/board/varisys/cyrus/eth.c +++ b/board/varisys/cyrus/eth.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <net.h> #include <netdev.h> #include <asm/fsl_serdes.h> #include <fm_eth.h> diff --git a/board/vscom/baltos/board.c b/board/vscom/baltos/board.c index c76502c9648..197405e5555 100644 --- a/board/vscom/baltos/board.c +++ b/board/vscom/baltos/board.c @@ -11,6 +11,7 @@ #include <env.h> #include <errno.h> #include <init.h> +#include <net.h> #include <serial.h> #include <linux/libfdt.h> #include <spl.h> diff --git a/board/warp7/warp7.c b/board/warp7/warp7.c index 1ebec939169..50630574fd1 100644 --- a/board/warp7/warp7.c +++ b/board/warp7/warp7.c @@ -5,6 +5,7 @@ */ #include <init.h> +#include <net.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> #include <asm/arch/mx7-pins.h> diff --git a/board/xilinx/versal/board.c b/board/xilinx/versal/board.c index 75aedb09292..e7169ea393c 100644 --- a/board/xilinx/versal/board.c +++ b/board/xilinx/versal/board.c @@ -10,6 +10,7 @@ #include <init.h> #include <malloc.h> #include <time.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch/hardware.h> #include <asm/arch/sys_proto.h> diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index 3c92b1a5825..b127e872326 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -9,6 +9,7 @@ #include <debug_uart.h> #include <env.h> #include <init.h> +#include <net.h> #include <sata.h> #include <ahci.h> #include <scsi.h> @@ -18,6 +19,7 @@ #include <asm/arch/hardware.h> #include <asm/arch/sys_proto.h> #include <asm/arch/psu_init_gpl.h> +#include <asm/cache.h> #include <asm/io.h> #include <dm/device.h> #include <dm/uclass.h> diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index d6a7175b379..89747c2f5bb 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -10,7 +10,9 @@ #include <common.h> #include <command.h> #include <env.h> +#include <net.h> #include <vsprintf.h> +#include <asm/cache.h> #include <linux/compiler.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/cmd/elf.c b/cmd/elf.c index 10e8264d3c7..0d6d2ce6041 100644 --- a/cmd/elf.c +++ b/cmd/elf.c @@ -14,6 +14,7 @@ #include <vxworks.h> #ifdef CONFIG_X86 #include <vbe.h> +#include <asm/cache.h> #include <asm/e820.h> #include <linux/linkage.h> #endif diff --git a/cmd/ethsw.c b/cmd/ethsw.c index 8d271ce1f3c..d178a0c10de 100644 --- a/cmd/ethsw.c +++ b/cmd/ethsw.c @@ -11,6 +11,7 @@ #include <errno.h> #include <env_flags.h> #include <ethsw.h> +#include <net.h> static const char *ethsw_name; diff --git a/cmd/fat.c b/cmd/fat.c index 50df127f6d2..2392907be2f 100644 --- a/cmd/fat.c +++ b/cmd/fat.c @@ -12,6 +12,7 @@ #include <s_record.h> #include <net.h> #include <ata.h> +#include <asm/cache.h> #include <asm/io.h> #include <mapmem.h> #include <part.h> diff --git a/cmd/load.c b/cmd/load.c index fab30fe8943..36db571cea6 100644 --- a/cmd/load.c +++ b/cmd/load.c @@ -19,6 +19,7 @@ #include <exports.h> #include <serial.h> #include <xyzModem.h> +#include <asm/cache.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/cmd/mem.c b/cmd/mem.c index 6d54f195272..bb318f3902c 100644 --- a/cmd/mem.c +++ b/cmd/mem.c @@ -19,6 +19,7 @@ #include <flash.h> #include <hash.h> #include <mapmem.h> +#include <rand.h> #include <watchdog.h> #include <asm/io.h> #include <linux/compiler.h> diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c index a422dee168a..ddc1508fb73 100644 --- a/cmd/mvebu/bubt.c +++ b/cmd/mvebu/bubt.c @@ -10,6 +10,7 @@ #include <env.h> #include <flash.h> #include <image.h> +#include <net.h> #include <vsprintf.h> #include <errno.h> #include <dm.h> diff --git a/cmd/nand.c b/cmd/nand.c index 4de6892a01b..9c2b5d718ef 100644 --- a/cmd/nand.c +++ b/cmd/nand.c @@ -21,6 +21,7 @@ #include <common.h> #include <image.h> +#include <asm/cache.h> #include <linux/mtd/mtd.h> #include <command.h> #include <console.h> diff --git a/cmd/nvedit.c b/cmd/nvedit.c index 81d94cd193c..1c42f2114b2 100644 --- a/cmd/nvedit.c +++ b/cmd/nvedit.c @@ -29,6 +29,7 @@ #include <console.h> #include <env.h> #include <env_internal.h> +#include <net.h> #include <search.h> #include <errno.h> #include <malloc.h> diff --git a/cmd/pxe_utils.c b/cmd/pxe_utils.c index 53af04d7dc7..a238937891f 100644 --- a/cmd/pxe_utils.c +++ b/cmd/pxe_utils.c @@ -10,6 +10,7 @@ #include <malloc.h> #include <mapmem.h> #include <lcd.h> +#include <net.h> #include <linux/string.h> #include <linux/ctype.h> #include <errno.h> diff --git a/cmd/sf.c b/cmd/sf.c index 2b9c268ac42..69e0d46a557 100644 --- a/cmd/sf.c +++ b/cmd/sf.c @@ -13,6 +13,7 @@ #include <mapmem.h> #include <spi.h> #include <spi_flash.h> +#include <asm/cache.h> #include <jffs2/jffs2.h> #include <linux/mtd/mtd.h> diff --git a/cmd/tlv_eeprom.c b/cmd/tlv_eeprom.c index 211ab2680f8..8b768f31088 100644 --- a/cmd/tlv_eeprom.c +++ b/cmd/tlv_eeprom.c @@ -15,6 +15,7 @@ #include <i2c.h> #include <i2c_eeprom.h> #include <env.h> +#include <net.h> #include <linux/ctype.h> #include <u-boot/crc.h> diff --git a/cmd/ximg.c b/cmd/ximg.c index 770f6a3eede..73c764255fa 100644 --- a/cmd/ximg.c +++ b/cmd/ximg.c @@ -24,6 +24,7 @@ #include <bzlib.h> #endif #include <asm/byteorder.h> +#include <asm/cache.h> #include <asm/io.h> #ifndef CONFIG_SYS_XIMG_LEN diff --git a/common/board_f.c b/common/board_f.c index 82a164752aa..c59400269a6 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -40,6 +40,7 @@ #include <trace.h> #include <video.h> #include <watchdog.h> +#include <asm/cache.h> #ifdef CONFIG_MACH_TYPE #include <asm/mach-types.h> #endif diff --git a/common/board_r.c b/common/board_r.c index 1f1c23bfe7c..95319a2b50d 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -18,6 +18,7 @@ #include <image.h> #include <irq_func.h> #include <net.h> +#include <asm/cache.h> #include <u-boot/crc.h> /* TODO: can we just include all these headers whether needed or not? */ #if defined(CONFIG_CMD_BEDBUG) diff --git a/common/bootm.c b/common/bootm.c index db4362a6430..96cba015890 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -15,6 +15,8 @@ #include <lmb.h> #include <malloc.h> #include <mapmem.h> +#include <net.h> +#include <asm/cache.h> #include <asm/io.h> #if defined(CONFIG_CMD_USB) #include <usb.h> diff --git a/common/bouncebuf.c b/common/bouncebuf.c index 614eb36c785..02b1f013863 100644 --- a/common/bouncebuf.c +++ b/common/bouncebuf.c @@ -10,6 +10,7 @@ #include <malloc.h> #include <errno.h> #include <bouncebuf.h> +#include <asm/cache.h> static int addr_aligned(struct bounce_buffer *state) { diff --git a/common/fdt_support.c b/common/fdt_support.c index 02cf5c6241b..fad551fdd64 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -9,6 +9,7 @@ #include <common.h> #include <env.h> #include <mapmem.h> +#include <net.h> #include <stdio_dev.h> #include <linux/ctype.h> #include <linux/types.h> diff --git a/common/hash.c b/common/hash.c index ff4986a6190..2cf763575f9 100644 --- a/common/hash.c +++ b/common/hash.c @@ -16,6 +16,7 @@ #include <malloc.h> #include <mapmem.h> #include <hw_sha.h> +#include <asm/cache.h> #include <asm/io.h> #include <linux/errno.h> #include <u-boot/crc.h> diff --git a/common/image.c b/common/image.c index 94873cb6ed5..ed712804561 100644 --- a/common/image.c +++ b/common/image.c @@ -11,6 +11,7 @@ #include <cpu_func.h> #include <env.h> #include <malloc.h> +#include <asm/cache.h> #include <u-boot/crc.h> #include <watchdog.h> diff --git a/common/lcd.c b/common/lcd.c index f8bc1ceba74..c421090c87a 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -12,6 +12,7 @@ #include <command.h> #include <cpu_func.h> #include <env_callback.h> +#include <asm/cache.h> #include <linux/types.h> #include <stdio_dev.h> #include <lcd.h> diff --git a/common/main.c b/common/main.c index ec8994ad457..09333651586 100644 --- a/common/main.c +++ b/common/main.c @@ -13,6 +13,7 @@ #include <console.h> #include <env.h> #include <init.h> +#include <net.h> #include <version.h> /* diff --git a/common/spl/spl_atf.c b/common/spl/spl_atf.c index 702367b2a23..bc2921c552d 100644 --- a/common/spl/spl_atf.c +++ b/common/spl/spl_atf.c @@ -14,6 +14,7 @@ #include <cpu_func.h> #include <errno.h> #include <spl.h> +#include <asm/cache.h> static struct bl2_to_bl31_params_mem bl31_params_mem; static struct bl31_params *bl2_to_bl31_params; diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c index 69dabd27f6d..425a3b00c4b 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -12,6 +12,7 @@ #include <image.h> #include <malloc.h> #include <spl.h> +#include <asm/cache.h> #include <linux/libfdt.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/common/usb_storage.c b/common/usb_storage.c index 097b6729c14..759fc48a60e 100644 --- a/common/usb_storage.c +++ b/common/usb_storage.c @@ -39,6 +39,7 @@ #include <mapmem.h> #include <memalign.h> #include <asm/byteorder.h> +#include <asm/cache.h> #include <asm/processor.h> #include <dm/device-internal.h> #include <dm/lists.h> diff --git a/disk/part_efi.c b/disk/part_efi.c index 2709aebd60e..f5730ae7173 100644 --- a/disk/part_efi.c +++ b/disk/part_efi.c @@ -10,6 +10,7 @@ * limits the maximum size of addressable storage to < 2 Terra Bytes */ #include <uuid.h> +#include <asm/cache.h> #include <asm/unaligned.h> #include <common.h> #include <command.h> diff --git a/disk/part_iso.c b/disk/part_iso.c index e733227f599..4f14c9a56e2 100644 --- a/disk/part_iso.c +++ b/disk/part_iso.c @@ -6,6 +6,7 @@ #include <common.h> #include <command.h> +#include <asm/cache.h> #include <asm/unaligned.h> #include "part_iso.h" diff --git a/drivers/ata/dwc_ahsata.c b/drivers/ata/dwc_ahsata.c index c2e28fe518e..0f070b6bc93 100644 --- a/drivers/ata/dwc_ahsata.c +++ b/drivers/ata/dwc_ahsata.c @@ -14,6 +14,7 @@ #include <malloc.h> #include <memalign.h> #include <sata.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/sys_proto.h> diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index 6019ac089e8..a71a7edf88a 100644 --- a/drivers/ata/sata_mv.c +++ b/drivers/ata/sata_mv.c @@ -35,6 +35,7 @@ #include <ahci.h> #include <cpu_func.h> #include <dm.h> +#include <asm/cache.h> #include <dm/device-internal.h> #include <dm/lists.h> #include <fis.h> diff --git a/drivers/bootcount/bootcount.c b/drivers/bootcount/bootcount.c index 655dfaf59c4..e8db8542f93 100644 --- a/drivers/bootcount/bootcount.c +++ b/drivers/bootcount/bootcount.c @@ -6,6 +6,7 @@ #include <bootcount.h> #include <cpu_func.h> +#include <asm/cache.h> #include <linux/compiler.h> #if !defined(CONFIG_DM_BOOTCOUNT) diff --git a/drivers/bootcount/bootcount_ram.c b/drivers/bootcount/bootcount_ram.c index 9c678e25f4b..078c84d5eca 100644 --- a/drivers/bootcount/bootcount_ram.c +++ b/drivers/bootcount/bootcount_ram.c @@ -6,6 +6,7 @@ #include <common.h> #include <cpu_func.h> +#include <asm/cache.h> #include <asm/io.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/clk/clk_versal.c b/drivers/clk/clk_versal.c index d3673a5c8b8..cd9ddd0ddb4 100644 --- a/drivers/clk/clk_versal.c +++ b/drivers/clk/clk_versal.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <asm/cache.h> #include <dm/device_compat.h> #include <linux/bitops.h> #include <linux/bitfield.h> diff --git a/drivers/core/device.c b/drivers/core/device.c index 89ea820d487..e64dee4ab77 100644 --- a/drivers/core/device.c +++ b/drivers/core/device.c @@ -15,6 +15,7 @@ #include <fdtdec.h> #include <fdt_support.h> #include <malloc.h> +#include <asm/cache.h> #include <dm/device.h> #include <dm/device-internal.h> #include <dm/lists.h> diff --git a/drivers/crypto/ace_sha.c b/drivers/crypto/ace_sha.c index 34611056ecf..b5321ed8206 100644 --- a/drivers/crypto/ace_sha.c +++ b/drivers/crypto/ace_sha.c @@ -5,6 +5,7 @@ */ #include <common.h> #include "ace_sha.h" +#include <rand.h> #ifdef CONFIG_SHA_HW_ACCEL #include <u-boot/sha256.h> diff --git a/drivers/crypto/fsl/fsl_blob.c b/drivers/crypto/fsl/fsl_blob.c index 0531b1b735f..c2059b8b0a3 100644 --- a/drivers/crypto/fsl/fsl_blob.c +++ b/drivers/crypto/fsl/fsl_blob.c @@ -9,6 +9,7 @@ #include <malloc.h> #include <memalign.h> #include <fsl_sec.h> +#include <asm/cache.h> #include <linux/errno.h> #include "jobdesc.h" #include "desc.h" diff --git a/drivers/crypto/fsl/fsl_hash.c b/drivers/crypto/fsl/fsl_hash.c index 74e38ca7592..e63def8b2de 100644 --- a/drivers/crypto/fsl/fsl_hash.c +++ b/drivers/crypto/fsl/fsl_hash.c @@ -13,6 +13,7 @@ #include "jr.h" #include "fsl_hash.h" #include <hw_sha.h> +#include <asm/cache.h> #include <linux/errno.h> #define CRYPTO_MAX_ALG_NAME 80 diff --git a/drivers/crypto/fsl/jobdesc.c b/drivers/crypto/fsl/jobdesc.c index 637ef29f150..2f35e0c90b8 100644 --- a/drivers/crypto/fsl/jobdesc.c +++ b/drivers/crypto/fsl/jobdesc.c @@ -13,6 +13,7 @@ #include "desc_constr.h" #include "jobdesc.h" #include "rsa_caam.h" +#include <asm/cache.h> #if defined(CONFIG_MX6) || defined(CONFIG_MX7) /*! diff --git a/drivers/crypto/fsl/jr.c b/drivers/crypto/fsl/jr.c index aa84f2cee0a..9228149863a 100644 --- a/drivers/crypto/fsl/jr.c +++ b/drivers/crypto/fsl/jr.c @@ -13,7 +13,9 @@ #include "jobdesc.h" #include "desc_constr.h" #include <time.h> +#include <asm/cache.h> #ifdef CONFIG_FSL_CORENET +#include <asm/cache.h> #include <asm/fsl_pamu.h> #endif diff --git a/drivers/ddr/altera/sdram_arria10.c b/drivers/ddr/altera/sdram_arria10.c index 2fd50b7ae55..049f202e03a 100644 --- a/drivers/ddr/altera/sdram_arria10.c +++ b/drivers/ddr/altera/sdram_arria10.c @@ -10,6 +10,7 @@ #include <malloc.h> #include <wait_bit.h> #include <watchdog.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch/fpga_manager.h> #include <asm/arch/misc.h> diff --git a/drivers/ddr/altera/sdram_soc64.c b/drivers/ddr/altera/sdram_soc64.c index 1f7ead0c674..c06fba92f84 100644 --- a/drivers/ddr/altera/sdram_soc64.c +++ b/drivers/ddr/altera/sdram_soc64.c @@ -18,6 +18,7 @@ #include <asm/arch/firewall.h> #include <asm/arch/system_manager.h> #include <asm/arch/reset_manager.h> +#include <asm/cache.h> #include <asm/io.h> #include <dm/device_compat.h> #include <linux/sizes.h> diff --git a/drivers/dma/apbh_dma.c b/drivers/dma/apbh_dma.c index 15133128bef..242ffde5594 100644 --- a/drivers/dma/apbh_dma.c +++ b/drivers/dma/apbh_dma.c @@ -10,6 +10,7 @@ */ #include <cpu_func.h> +#include <asm/cache.h> #include <linux/list.h> #include <common.h> diff --git a/drivers/dma/bcm6348-iudma.c b/drivers/dma/bcm6348-iudma.c index d99460f2fb2..70bdb650711 100644 --- a/drivers/dma/bcm6348-iudma.c +++ b/drivers/dma/bcm6348-iudma.c @@ -22,6 +22,7 @@ #include <dma-uclass.h> #include <malloc.h> #include <memalign.h> +#include <net.h> #include <reset.h> #include <asm/io.h> diff --git a/drivers/dma/dma-uclass.c b/drivers/dma/dma-uclass.c index 9d5a7fc796c..d2b0b63ecd5 100644 --- a/drivers/dma/dma-uclass.c +++ b/drivers/dma/dma-uclass.c @@ -13,6 +13,7 @@ #include <cpu_func.h> #include <dm.h> #include <malloc.h> +#include <asm/cache.h> #include <dm/read.h> #include <dma-uclass.h> #include <dt-structs.h> diff --git a/drivers/dma/ti-edma3.c b/drivers/dma/ti-edma3.c index 7e11b13e45c..77c4ba95307 100644 --- a/drivers/dma/ti-edma3.c +++ b/drivers/dma/ti-edma3.c @@ -8,6 +8,7 @@ * Author: Ivan Khoronzhuk <ivan.khoronzhuk at ti.com> */ +#include <asm/cache.h> #include <asm/io.h> #include <common.h> #include <dm.h> diff --git a/drivers/dma/ti/k3-udma.c b/drivers/dma/ti/k3-udma.c index a0e536ae5e9..5b11f240fea 100644 --- a/drivers/dma/ti/k3-udma.c +++ b/drivers/dma/ti/k3-udma.c @@ -7,6 +7,7 @@ #include <common.h> #include <cpu_func.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/bitops.h> #include <malloc.h> diff --git a/drivers/firmware/firmware-zynqmp.c b/drivers/firmware/firmware-zynqmp.c index c37642569dd..47746458a01 100644 --- a/drivers/firmware/firmware-zynqmp.c +++ b/drivers/firmware/firmware-zynqmp.c @@ -8,6 +8,7 @@ #include <common.h> #include <dm.h> #include <zynqmp_firmware.h> +#include <asm/cache.h> #if defined(CONFIG_ZYNQMP_IPI) #include <mailbox.h> diff --git a/drivers/fpga/versalpl.c b/drivers/fpga/versalpl.c index 6c69ab7802c..8ab19e0c74e 100644 --- a/drivers/fpga/versalpl.c +++ b/drivers/fpga/versalpl.c @@ -10,6 +10,7 @@ #include <memalign.h> #include <versalpl.h> #include <zynqmp_firmware.h> +#include <asm/cache.h> static ulong versal_align_dma_buffer(ulong *buf, u32 len) { diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga/zynqmppl.c index 4a826e4a71a..a2a5f9cbbe0 100644 --- a/drivers/fpga/zynqmppl.c +++ b/drivers/fpga/zynqmppl.c @@ -10,6 +10,7 @@ #include <cpu_func.h> #include <zynqmppl.h> #include <zynqmp_firmware.h> +#include <asm/cache.h> #include <linux/sizes.h> #include <asm/arch/sys_proto.h> #include <memalign.h> diff --git a/drivers/fpga/zynqpl.c b/drivers/fpga/zynqpl.c index 21624f715ba..6370cafb23c 100644 --- a/drivers/fpga/zynqpl.c +++ b/drivers/fpga/zynqpl.c @@ -9,6 +9,7 @@ #include <common.h> #include <console.h> #include <cpu_func.h> +#include <asm/cache.h> #include <asm/io.h> #include <fs.h> #include <zynqpl.h> diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c index 12245408114..6290b7fb5be 100644 --- a/drivers/mmc/dw_mmc.c +++ b/drivers/mmc/dw_mmc.c @@ -14,6 +14,7 @@ #include <mmc.h> #include <dwmmc.h> #include <wait_bit.h> +#include <asm/cache.h> #include <power/regulator.h> #define PAGE_SIZE 4096 diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index 386781da031..a35e791fcc9 100644 --- a/drivers/mmc/fsl_esdhc.c +++ b/drivers/mmc/fsl_esdhc.c @@ -20,6 +20,7 @@ #include <malloc.h> #include <fsl_esdhc.h> #include <fdt_support.h> +#include <asm/cache.h> #include <asm/io.h> #include <dm.h> #include <dm/device_compat.h> diff --git a/drivers/mmc/fsl_esdhc_imx.c b/drivers/mmc/fsl_esdhc_imx.c index 6bca2a9c829..0cdf5a04897 100644 --- a/drivers/mmc/fsl_esdhc_imx.c +++ b/drivers/mmc/fsl_esdhc_imx.c @@ -19,6 +19,7 @@ #include <hwconfig.h> #include <mmc.h> #include <part.h> +#include <asm/cache.h> #include <dm/device_compat.h> #include <linux/err.h> #include <power/regulator.h> diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index 4d0dc339369..886299a50d7 100644 --- a/drivers/mmc/omap_hsmmc.c +++ b/drivers/mmc/omap_hsmmc.c @@ -33,6 +33,7 @@ #if defined(CONFIG_OMAP54XX) || defined(CONFIG_OMAP44XX) #include <palmas.h> #endif +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch/mmc_host_def.h> #ifdef CONFIG_OMAP54XX diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 520c9f9feba..6556cd5b467 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -15,6 +15,7 @@ #include <mmc.h> #include <sdhci.h> #include <dm.h> +#include <asm/cache.h> #include <linux/dma-mapping.h> static void sdhci_reset(struct sdhci_host *host, u8 mask) diff --git a/drivers/mmc/stm32_sdmmc2.c b/drivers/mmc/stm32_sdmmc2.c index 6f3b2ad653a..b76a7edc0ba 100644 --- a/drivers/mmc/stm32_sdmmc2.c +++ b/drivers/mmc/stm32_sdmmc2.c @@ -10,6 +10,7 @@ #include <dm.h> #include <fdtdec.h> #include <malloc.h> +#include <asm/cache.h> #include <linux/libfdt.h> #include <mmc.h> #include <reset.h> diff --git a/drivers/mtd/nand/raw/denali.c b/drivers/mtd/nand/raw/denali.c index 3a09a8165c1..a58d7ce4ab1 100644 --- a/drivers/mtd/nand/raw/denali.c +++ b/drivers/mtd/nand/raw/denali.c @@ -5,9 +5,12 @@ * Copyright (C) 2009-2010, Intel Corporation and its suppliers. */ +#include <common.h> #include <dm.h> #include <malloc.h> #include <nand.h> +#include <asm/cache.h> +#include <asm/dma-mapping.h> #include <dm/device_compat.h> #include <dm/devres.h> #include <linux/bitfield.h> diff --git a/drivers/mtd/nand/raw/mxs_nand.c b/drivers/mtd/nand/raw/mxs_nand.c index fe8097c1460..522e33a33b5 100644 --- a/drivers/mtd/nand/raw/mxs_nand.c +++ b/drivers/mtd/nand/raw/mxs_nand.c @@ -15,6 +15,7 @@ #include <common.h> #include <cpu_func.h> #include <dm.h> +#include <asm/cache.h> #include <linux/mtd/rawnand.h> #include <linux/sizes.h> #include <linux/types.h> diff --git a/drivers/mtd/nand/raw/mxs_nand_spl.c b/drivers/mtd/nand/raw/mxs_nand_spl.c index a653dfa5edf..45c9ed4b9c0 100644 --- a/drivers/mtd/nand/raw/mxs_nand_spl.c +++ b/drivers/mtd/nand/raw/mxs_nand_spl.c @@ -7,6 +7,7 @@ #include <nand.h> #include <malloc.h> #include <mxs_nand.h> +#include <asm/cache.h> #include <linux/err.h> static struct mtd_info *mtd; diff --git a/drivers/mtd/nand/raw/nand_util.c b/drivers/mtd/nand/raw/nand_util.c index f3c8f7f2cb1..9c4af8a5d63 100644 --- a/drivers/mtd/nand/raw/nand_util.c +++ b/drivers/mtd/nand/raw/nand_util.c @@ -24,6 +24,7 @@ #include <malloc.h> #include <memalign.h> #include <div64.h> +#include <asm/cache.h> #include <dm/devres.h> #include <linux/errno.h> diff --git a/drivers/net/ag7xxx.c b/drivers/net/ag7xxx.c index e3a7222efba..11c9124e310 100644 --- a/drivers/net/ag7xxx.c +++ b/drivers/net/ag7xxx.c @@ -13,6 +13,8 @@ #include <errno.h> #include <miiphy.h> #include <malloc.h> +#include <net.h> +#include <asm/cache.h> #include <linux/compiler.h> #include <linux/err.h> #include <linux/mii.h> diff --git a/drivers/net/bcm-sf2-eth-gmac.c b/drivers/net/bcm-sf2-eth-gmac.c index 6a25f67c30b..3794e40b01b 100644 --- a/drivers/net/bcm-sf2-eth-gmac.c +++ b/drivers/net/bcm-sf2-eth-gmac.c @@ -14,6 +14,7 @@ #include <cpu_func.h> #include <malloc.h> #include <net.h> +#include <asm/cache.h> #include <asm/io.h> #include <phy.h> diff --git a/drivers/net/bcmgenet.c b/drivers/net/bcmgenet.c index 8f4848aec68..f3ac064c1d3 100644 --- a/drivers/net/bcmgenet.c +++ b/drivers/net/bcmgenet.c @@ -16,6 +16,7 @@ * we only support v5, as used in the Raspberry Pi 4. */ +#include <asm/cache.h> #include <asm/io.h> #include <clk.h> #include <cpu_func.h> diff --git a/drivers/net/calxedaxgmac.c b/drivers/net/calxedaxgmac.c index 1b7c94f654d..0dd64e45821 100644 --- a/drivers/net/calxedaxgmac.c +++ b/drivers/net/calxedaxgmac.c @@ -5,6 +5,7 @@ #include <common.h> #include <malloc.h> +#include <net.h> #include <linux/compiler.h> #include <linux/err.h> #include <asm/io.h> diff --git a/drivers/net/designware.c b/drivers/net/designware.c index baac277a84d..34e0da1a1b7 100644 --- a/drivers/net/designware.c +++ b/drivers/net/designware.c @@ -15,8 +15,10 @@ #include <errno.h> #include <miiphy.h> #include <malloc.h> +#include <net.h> #include <pci.h> #include <reset.h> +#include <asm/cache.h> #include <dm/device_compat.h> #include <dm/devres.h> #include <linux/compiler.h> diff --git a/drivers/net/designware.h b/drivers/net/designware.h index 3519a4167a7..ffaf5a14d07 100644 --- a/drivers/net/designware.h +++ b/drivers/net/designware.h @@ -7,6 +7,9 @@ #ifndef _DW_ETH_H #define _DW_ETH_H +#include <asm/cache.h> +#include <net.h> + #if CONFIG_IS_ENABLED(DM_GPIO) #include <asm-generic/gpio.h> #endif diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c index 0564bebf76c..5511b2a8389 100644 --- a/drivers/net/dwc_eth_qos.c +++ b/drivers/net/dwc_eth_qos.c @@ -39,6 +39,7 @@ #include <phy.h> #include <reset.h> #include <wait_bit.h> +#include <asm/cache.h> #include <asm/gpio.h> #include <asm/io.h> diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index 9212920549d..7e98449cfa2 100644 --- a/drivers/net/e1000.c +++ b/drivers/net/e1000.c @@ -35,8 +35,10 @@ tested on both gig copper and gig fiber boards #include <errno.h> #include <malloc.h> #include <memalign.h> +#include <net.h> #include <pci.h> #include "e1000.h" +#include <asm/cache.h> #define TOUT_LOOP 100000 diff --git a/drivers/net/ep93xx_eth.c b/drivers/net/ep93xx_eth.c index ecb34b24508..8ec7b36f9ac 100644 --- a/drivers/net/ep93xx_eth.c +++ b/drivers/net/ep93xx_eth.c @@ -18,6 +18,7 @@ #include <command.h> #include <common.h> +#include <net.h> #include <asm/arch/ep93xx.h> #include <asm/io.h> #include <malloc.h> diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index bc5b63d7881..9a0c7110fbf 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -16,6 +16,7 @@ #include <miiphy.h> #include <net.h> #include <netdev.h> +#include <asm/cache.h> #include <power/regulator.h> #include <asm/io.h> diff --git a/drivers/net/fm/init.c b/drivers/net/fm/init.c index f896e80b6d9..1ff405bf5b7 100644 --- a/drivers/net/fm/init.c +++ b/drivers/net/fm/init.c @@ -4,6 +4,7 @@ */ #include <errno.h> #include <common.h> +#include <net.h> #include <asm/io.h> #include <fdt_support.h> #include <fsl_mdio.h> diff --git a/drivers/net/fsl_enetc.c b/drivers/net/fsl_enetc.c index bee73153d0e..2fa27c7b6ec 100644 --- a/drivers/net/fsl_enetc.c +++ b/drivers/net/fsl_enetc.c @@ -9,6 +9,8 @@ #include <errno.h> #include <malloc.h> #include <memalign.h> +#include <net.h> +#include <asm/cache.h> #include <asm/io.h> #include <pci.h> #include <miiphy.h> diff --git a/drivers/net/ftgmac100.c b/drivers/net/ftgmac100.c index 40e6b3ba395..35257366747 100644 --- a/drivers/net/ftgmac100.c +++ b/drivers/net/ftgmac100.c @@ -18,6 +18,7 @@ #include <miiphy.h> #include <net.h> #include <wait_bit.h> +#include <asm/cache.h> #include <dm/device_compat.h> #include <linux/io.h> #include <linux/iopoll.h> diff --git a/drivers/net/ftmac110.c b/drivers/net/ftmac110.c index 84082407d27..10d5fc34cc0 100644 --- a/drivers/net/ftmac110.c +++ b/drivers/net/ftmac110.c @@ -10,6 +10,7 @@ #include <command.h> #include <malloc.h> #include <net.h> +#include <asm/cache.h> #include <linux/errno.h> #include <asm/io.h> #include <linux/dma-mapping.h> diff --git a/drivers/net/gmac_rockchip.c b/drivers/net/gmac_rockchip.c index e152faf083d..85f8d3b419a 100644 --- a/drivers/net/gmac_rockchip.c +++ b/drivers/net/gmac_rockchip.c @@ -8,6 +8,7 @@ #include <common.h> #include <dm.h> #include <clk.h> +#include <net.h> #include <phy.h> #include <syscon.h> #include <asm/io.h> diff --git a/drivers/net/higmacv300.c b/drivers/net/higmacv300.c index 0c1dd6834a3..d338643e60d 100644 --- a/drivers/net/higmacv300.c +++ b/drivers/net/higmacv300.c @@ -5,6 +5,7 @@ #include <cpu_func.h> #include <malloc.h> +#include <asm/cache.h> #include <asm/io.h> #include <common.h> #include <console.h> diff --git a/drivers/net/mt7628-eth.c b/drivers/net/mt7628-eth.c index 404a0464229..217c684702f 100644 --- a/drivers/net/mt7628-eth.c +++ b/drivers/net/mt7628-eth.c @@ -21,6 +21,7 @@ #include <net.h> #include <reset.h> #include <wait_bit.h> +#include <asm/cache.h> #include <asm/io.h> #include <linux/bitfield.h> #include <linux/err.h> diff --git a/drivers/net/mtk_eth.c b/drivers/net/mtk_eth.c index 126b824b1a8..7a153997117 100644 --- a/drivers/net/mtk_eth.c +++ b/drivers/net/mtk_eth.c @@ -11,10 +11,12 @@ #include <dm.h> #include <malloc.h> #include <miiphy.h> +#include <net.h> #include <regmap.h> #include <reset.h> #include <syscon.h> #include <wait_bit.h> +#include <asm/cache.h> #include <asm/gpio.h> #include <asm/io.h> #include <dm/device_compat.h> diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c index d737400a20d..75831dfe147 100644 --- a/drivers/net/mvneta.c +++ b/drivers/net/mvneta.c @@ -19,6 +19,7 @@ #include <netdev.h> #include <config.h> #include <malloc.h> +#include <asm/cache.h> #include <asm/io.h> #include <dm/device_compat.h> #include <dm/devres.h> diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c index fcd24868af4..29067194cb1 100644 --- a/drivers/net/mvpp2.c +++ b/drivers/net/mvpp2.c @@ -16,6 +16,7 @@ #include <common.h> #include <cpu_func.h> #include <dm.h> +#include <asm/cache.h> #include <dm/device-internal.h> #include <dm/device_compat.h> #include <dm/devres.h> diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c index b4ad11d3fa5..283f099f863 100644 --- a/drivers/net/pcnet.c +++ b/drivers/net/pcnet.c @@ -11,6 +11,7 @@ #include <malloc.h> #include <net.h> #include <netdev.h> +#include <asm/cache.h> #include <asm/io.h> #include <pci.h> diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c index 8ece926dd37..e30a7fd5d6b 100644 --- a/drivers/net/phy/aquantia.c +++ b/drivers/net/phy/aquantia.c @@ -8,6 +8,7 @@ #include <config.h> #include <common.h> #include <dm.h> +#include <net.h> #include <phy.h> #include <u-boot/crc.h> #include <malloc.h> diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c index fb4a628d63c..9139b5b1a10 100644 --- a/drivers/net/ravb.c +++ b/drivers/net/ravb.c @@ -15,6 +15,7 @@ #include <errno.h> #include <miiphy.h> #include <malloc.h> +#include <asm/cache.h> #include <linux/mii.h> #include <wait_bit.h> #include <asm/io.h> diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c index 5ccdfdd6839..27dc233323c 100644 --- a/drivers/net/rtl8169.c +++ b/drivers/net/rtl8169.c @@ -49,6 +49,7 @@ #ifndef CONFIG_DM_ETH #include <netdev.h> #endif +#include <asm/cache.h> #include <asm/io.h> #include <pci.h> diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index f8e5d05722a..d75bf546704 100644 --- a/drivers/net/sh_eth.c +++ b/drivers/net/sh_eth.c @@ -16,6 +16,7 @@ #include <net.h> #include <netdev.h> #include <miiphy.h> +#include <asm/cache.h> #include <linux/errno.h> #include <asm/io.h> diff --git a/drivers/net/smc91111.h b/drivers/net/smc91111.h index 013542770dd..4c3acba35a9 100644 --- a/drivers/net/smc91111.h +++ b/drivers/net/smc91111.h @@ -30,6 +30,7 @@ #include <asm/types.h> #include <config.h> +#include <net.h> /* * This function may be called by the board specific initialisation code diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h index 3145fbde2bd..b7f59aa0df9 100644 --- a/drivers/net/smc911x.h +++ b/drivers/net/smc911x.h @@ -8,6 +8,7 @@ #ifndef _SMC911X_H_ #define _SMC911X_H_ +#include <net.h> #include <linux/types.h> #define DRIVERNAME "smc911x" diff --git a/drivers/net/sni_ave.c b/drivers/net/sni_ave.c index 5d66a63a8bf..0f665087c60 100644 --- a/drivers/net/sni_ave.c +++ b/drivers/net/sni_ave.c @@ -14,6 +14,7 @@ #include <regmap.h> #include <reset.h> #include <syscon.h> +#include <asm/cache.h> #include <dm/device_compat.h> #include <linux/err.h> #include <linux/io.h> diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c index 1ae776b4464..09ea586e071 100644 --- a/drivers/net/sun8i_emac.c +++ b/drivers/net/sun8i_emac.c @@ -11,6 +11,7 @@ */ #include <cpu_func.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/gpio.h> diff --git a/drivers/net/ti/am65-cpsw-nuss.c b/drivers/net/ti/am65-cpsw-nuss.c index 2b77213001f..eea15701f77 100644 --- a/drivers/net/ti/am65-cpsw-nuss.c +++ b/drivers/net/ti/am65-cpsw-nuss.c @@ -8,6 +8,7 @@ #include <common.h> #include <malloc.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/processor.h> #include <clk.h> diff --git a/drivers/net/ti/davinci_emac.c b/drivers/net/ti/davinci_emac.c index 9c6bfca5a9f..b5dfa8bd914 100644 --- a/drivers/net/ti/davinci_emac.c +++ b/drivers/net/ti/davinci_emac.c @@ -27,6 +27,7 @@ #include <net.h> #include <miiphy.h> #include <malloc.h> +#include <asm/cache.h> #include <linux/compiler.h> #include <asm/arch/emac_defs.h> #include <asm/io.h> diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index a158824fc9f..1747f3667e5 100644 --- a/drivers/net/zynq_gem.c +++ b/drivers/net/zynq_gem.c @@ -17,6 +17,7 @@ #include <config.h> #include <console.h> #include <malloc.h> +#include <asm/cache.h> #include <asm/io.h> #include <phy.h> #include <miiphy.h> diff --git a/drivers/ram/stm32mp1/stm32mp1_tests.c b/drivers/ram/stm32mp1/stm32mp1_tests.c index 12298cf3273..3325dfef2b8 100644 --- a/drivers/ram/stm32mp1/stm32mp1_tests.c +++ b/drivers/ram/stm32mp1/stm32mp1_tests.c @@ -5,6 +5,7 @@ #include <common.h> #include <console.h> #include <init.h> +#include <rand.h> #include <watchdog.h> #include <asm/io.h> #include <linux/log2.h> diff --git a/drivers/ram/stm32mp1/stm32mp1_tuning.c b/drivers/ram/stm32mp1/stm32mp1_tuning.c index 3013b7b6676..d00f465cd59 100644 --- a/drivers/ram/stm32mp1/stm32mp1_tuning.c +++ b/drivers/ram/stm32mp1/stm32mp1_tuning.c @@ -6,6 +6,7 @@ #include <console.h> #include <clk.h> #include <ram.h> +#include <rand.h> #include <reset.h> #include <asm/io.h> #include <linux/bitops.h> diff --git a/drivers/remoteproc/rproc-elf-loader.c b/drivers/remoteproc/rproc-elf-loader.c index f2e033aa741..d308100cf41 100644 --- a/drivers/remoteproc/rproc-elf-loader.c +++ b/drivers/remoteproc/rproc-elf-loader.c @@ -7,6 +7,7 @@ #include <dm.h> #include <elf.h> #include <remoteproc.h> +#include <asm/cache.h> #include <dm/device_compat.h> #include <linux/compat.h> diff --git a/drivers/rng/sandbox_rng.c b/drivers/rng/sandbox_rng.c index cd0b0ac77b6..cc5e1f6e25b 100644 --- a/drivers/rng/sandbox_rng.c +++ b/drivers/rng/sandbox_rng.c @@ -5,6 +5,7 @@ #include <common.h> #include <dm.h> +#include <rand.h> #include <rng.h> #include <linux/string.h> diff --git a/drivers/soc/ti/k3-navss-ringacc.c b/drivers/soc/ti/k3-navss-ringacc.c index c5661c52fac..b24a8f128f5 100644 --- a/drivers/soc/ti/k3-navss-ringacc.c +++ b/drivers/soc/ti/k3-navss-ringacc.c @@ -7,6 +7,7 @@ #include <common.h> #include <cpu_func.h> +#include <asm/cache.h> #include <asm/io.h> #include <malloc.h> #include <asm/bitops.h> diff --git a/drivers/spi/mxs_spi.c b/drivers/spi/mxs_spi.c index 3ca30887fbe..ee44973c7fa 100644 --- a/drivers/spi/mxs_spi.c +++ b/drivers/spi/mxs_spi.c @@ -17,6 +17,7 @@ #include <malloc.h> #include <memalign.h> #include <spi.h> +#include <asm/cache.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/arch/clock.h> diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c index e3750b0b171..ef39198b43f 100644 --- a/drivers/spi/ti_qspi.c +++ b/drivers/spi/ti_qspi.c @@ -7,6 +7,7 @@ #include <common.h> #include <cpu_func.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch/omap.h> #include <malloc.h> diff --git a/drivers/spi/zynqmp_gqspi.c b/drivers/spi/zynqmp_gqspi.c index 02b78df8437..5d15072d498 100644 --- a/drivers/spi/zynqmp_gqspi.c +++ b/drivers/spi/zynqmp_gqspi.c @@ -8,6 +8,7 @@ #include <common.h> #include <cpu_func.h> #include <asm/arch/sys_proto.h> +#include <asm/cache.h> #include <asm/io.h> #include <clk.h> #include <dm.h> diff --git a/drivers/usb/cdns3/ep0.c b/drivers/usb/cdns3/ep0.c index 1957a3b91d5..4266bd630c3 100644 --- a/drivers/usb/cdns3/ep0.c +++ b/drivers/usb/cdns3/ep0.c @@ -11,6 +11,7 @@ */ #include <cpu_func.h> +#include <asm/cache.h> #include <dm/device_compat.h> #include <linux/usb/composite.h> #include <linux/iopoll.h> diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c index 3a8ec0bf2dd..448f5245d17 100644 --- a/drivers/usb/eth/asix.c +++ b/drivers/usb/eth/asix.c @@ -7,6 +7,7 @@ #include <common.h> #include <dm.h> +#include <net.h> #include <usb.h> #include <malloc.h> #include <memalign.h> diff --git a/drivers/usb/eth/lan78xx.c b/drivers/usb/eth/lan78xx.c index e8ee6650bc4..fe8cc6acc53 100644 --- a/drivers/usb/eth/lan78xx.c +++ b/drivers/usb/eth/lan78xx.c @@ -4,6 +4,7 @@ */ #include <dm.h> +#include <net.h> #include <usb.h> #include "usb_ether.h" #include "lan7x.h" diff --git a/drivers/usb/eth/lan7x.c b/drivers/usb/eth/lan7x.c index 21786e1bdfc..afe78d44a38 100644 --- a/drivers/usb/eth/lan7x.c +++ b/drivers/usb/eth/lan7x.c @@ -7,6 +7,7 @@ #include <malloc.h> #include <miiphy.h> #include <memalign.h> +#include <net.h> #include <usb.h> #include <linux/ethtool.h> #include <linux/mii.h> diff --git a/drivers/usb/eth/mcs7830.c b/drivers/usb/eth/mcs7830.c index 75c45ee0ae8..a9e0aabc61f 100644 --- a/drivers/usb/eth/mcs7830.c +++ b/drivers/usb/eth/mcs7830.c @@ -12,6 +12,7 @@ #include <common.h> #include <dm.h> #include <errno.h> +#include <net.h> #include <linux/mii.h> #include <malloc.h> #include <memalign.h> diff --git a/drivers/usb/eth/r8152.c b/drivers/usb/eth/r8152.c index e5f73e3d4c0..8dae5097b8d 100644 --- a/drivers/usb/eth/r8152.c +++ b/drivers/usb/eth/r8152.c @@ -9,6 +9,7 @@ #include <errno.h> #include <malloc.h> #include <memalign.h> +#include <net.h> #include <usb.h> #include <linux/mii.h> #include <linux/bitops.h> diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95xx.c index 25f69a061b4..ab6411f561a 100644 --- a/drivers/usb/eth/smsc95xx.c +++ b/drivers/usb/eth/smsc95xx.c @@ -11,6 +11,7 @@ #include <errno.h> #include <malloc.h> #include <memalign.h> +#include <net.h> #include <usb.h> #include <asm/unaligned.h> #include <linux/mii.h> diff --git a/drivers/usb/eth/usb_ether.c b/drivers/usb/eth/usb_ether.c index 3aca9ac265d..d76e2ff5bbf 100644 --- a/drivers/usb/eth/usb_ether.c +++ b/drivers/usb/eth/usb_ether.c @@ -7,7 +7,9 @@ #include <dm.h> #include <errno.h> #include <malloc.h> +#include <net.h> #include <usb.h> +#include <asm/cache.h> #include <dm/device-internal.h> #include "usb_ether.h" diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/gadget/ci_udc.c index d9cfff3a29f..5677eab4261 100644 --- a/drivers/usb/gadget/ci_udc.c +++ b/drivers/usb/gadget/ci_udc.c @@ -14,6 +14,7 @@ #include <net.h> #include <malloc.h> #include <asm/byteorder.h> +#include <asm/cache.h> #include <linux/errno.h> #include <asm/io.h> #include <asm/unaligned.h> diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c index e4efaf1e593..d048a42d3df 100644 --- a/drivers/usb/host/dwc2.c +++ b/drivers/usb/host/dwc2.c @@ -14,6 +14,7 @@ #include <phys2bus.h> #include <usbroothubdes.h> #include <wait_bit.h> +#include <asm/cache.h> #include <asm/io.h> #include <dm/device_compat.h> #include <power/regulator.h> diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 1cc02052f54..6ec25fc80a6 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -11,6 +11,7 @@ #include <dm.h> #include <errno.h> #include <asm/byteorder.h> +#include <asm/cache.h> #include <asm/unaligned.h> #include <usb.h> #include <asm/io.h> diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index c94960f2cc7..ac1ad29b02b 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c @@ -32,6 +32,7 @@ #include <asm/byteorder.h> #include <dm.h> #include <errno.h> +#include <asm/cache.h> #if defined(CONFIG_PCI_OHCI) # include <pci.h> diff --git a/drivers/video/bcm2835.c b/drivers/video/bcm2835.c index 1d2eda084c8..ea5a4529cee 100644 --- a/drivers/video/bcm2835.c +++ b/drivers/video/bcm2835.c @@ -8,6 +8,7 @@ #include <video.h> #include <asm/arch/mbox.h> #include <asm/arch/msg.h> +#include <asm/cache.h> static int bcm2835_video_probe(struct udevice *dev) { diff --git a/drivers/video/fsl_dcu_fb.c b/drivers/video/fsl_dcu_fb.c index 076e9ea0193..e9d05c93946 100644 --- a/drivers/video/fsl_dcu_fb.c +++ b/drivers/video/fsl_dcu_fb.c @@ -7,6 +7,7 @@ */ #include <init.h> +#include <asm/cache.h> #include <asm/io.h> #include <common.h> #include <dm.h> diff --git a/drivers/video/imx/mxc_ipuv3_fb.c b/drivers/video/imx/mxc_ipuv3_fb.c index c64be38e492..db8eb4ade88 100644 --- a/drivers/video/imx/mxc_ipuv3_fb.c +++ b/drivers/video/imx/mxc_ipuv3_fb.c @@ -11,6 +11,7 @@ */ #include <common.h> +#include <asm/cache.h> #include <linux/errno.h> #include <asm/global_data.h> #include <linux/string.h> diff --git a/drivers/video/mvebu_lcd.c b/drivers/video/mvebu_lcd.c index 3ff5b28ae2f..2907c533783 100644 --- a/drivers/video/mvebu_lcd.c +++ b/drivers/video/mvebu_lcd.c @@ -8,6 +8,7 @@ #include <common.h> #include <dm.h> #include <video.h> +#include <asm/cache.h> #include <dm/device_compat.h> #include <linux/mbus.h> #include <asm/io.h> diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 585af3d5714..dc8a55f70ef 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -7,6 +7,7 @@ #include <common.h> #include <dm.h> #include <env.h> +#include <asm/cache.h> #include <dm/device_compat.h> #include <linux/errno.h> #include <malloc.h> diff --git a/drivers/video/tegra.c b/drivers/video/tegra.c index f4bae9fc369..1fa052e306e 100644 --- a/drivers/video/tegra.c +++ b/drivers/video/tegra.c @@ -9,6 +9,7 @@ #include <panel.h> #include <pwm.h> #include <video.h> +#include <asm/cache.h> #include <asm/system.h> #include <asm/gpio.h> #include <asm/io.h> diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c index 3d658e61d7c..eed61cd731c 100644 --- a/drivers/video/video-uclass.c +++ b/drivers/video/video-uclass.c @@ -11,6 +11,7 @@ #include <stdio_dev.h> #include <video.h> #include <video_console.h> +#include <asm/cache.h> #include <dm/lists.h> #include <dm/device-internal.h> #include <dm/uclass-internal.h> diff --git a/env/fat.c b/env/fat.c index 1836556f361..53fc9c7fa60 100644 --- a/env/fat.c +++ b/env/fat.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <asm/cache.h> #include <command.h> #include <env.h> diff --git a/env/sf.c b/env/sf.c index ac16ed5bdd4..9717b5fcb90 100644 --- a/env/sf.c +++ b/env/sf.c @@ -19,6 +19,7 @@ #include <search.h> #include <errno.h> #include <uuid.h> +#include <asm/cache.h> #include <dm/device-internal.h> #include <u-boot/crc.h> diff --git a/examples/standalone/smc911x_eeprom.c b/examples/standalone/smc911x_eeprom.c index 2c05ed902d0..70e9ab219ca 100644 --- a/examples/standalone/smc911x_eeprom.c +++ b/examples/standalone/smc911x_eeprom.c @@ -17,6 +17,7 @@ #include <common.h> #include <console.h> #include <exports.h> +#include <net.h> #include <linux/ctype.h> #include "../drivers/net/smc911x.h" diff --git a/fs/ext4/ext4_common.h b/fs/ext4/ext4_common.h index 4dff1914d9e..beaee9c80bd 100644 --- a/fs/ext4/ext4_common.h +++ b/fs/ext4/ext4_common.h @@ -23,6 +23,7 @@ #include <ext_common.h> #include <ext4fs.h> #include <malloc.h> +#include <asm/cache.h> #include <linux/errno.h> #if defined(CONFIG_EXT4_WRITE) #include "ext4_journal.h" diff --git a/fs/fat/fat.c b/fs/fat/fat.c index 68ce6583867..f68c8f73c48 100644 --- a/fs/fat/fat.c +++ b/fs/fat/fat.c @@ -18,6 +18,7 @@ #include <part.h> #include <malloc.h> #include <memalign.h> +#include <asm/cache.h> #include <linux/compiler.h> #include <linux/ctype.h> diff --git a/fs/fat/fat_write.c b/fs/fat/fat_write.c index 4f96699e363..d2aff092001 100644 --- a/fs/fat/fat_write.c +++ b/fs/fat/fat_write.c @@ -12,6 +12,7 @@ #include <malloc.h> #include <asm/byteorder.h> #include <part.h> +#include <asm/cache.h> #include <linux/ctype.h> #include <div64.h> #include <linux/math64.h> diff --git a/include/common.h b/include/common.h index 1705d85e8a9..a900596c5f9 100644 --- a/include/common.h +++ b/include/common.h @@ -36,7 +36,6 @@ #include <init.h> #include <display_options.h> #include <vsprintf.h> -#include <net.h> #include <bootstage.h> #endif /* __ASSEMBLY__ */ diff --git a/include/dwmmc.h b/include/dwmmc.h index f06720dc0d9..58110aa3e71 100644 --- a/include/dwmmc.h +++ b/include/dwmmc.h @@ -7,6 +7,7 @@ #ifndef __DWMMC_HW_H #define __DWMMC_HW_H +#include <asm/cache.h> #include <asm/io.h> #include <mmc.h> diff --git a/include/log.h b/include/log.h index 62fb8afbd0e..34385aafb1a 100644 --- a/include/log.h +++ b/include/log.h @@ -9,6 +9,7 @@ #ifndef __LOG_H #define __LOG_H +#include <stdio.h> #include <command.h> #include <dm/uclass-id.h> #include <linux/list.h> diff --git a/include/net.h b/include/net.h index 774ae2de63c..3ef212dd00f 100644 --- a/include/net.h +++ b/include/net.h @@ -12,6 +12,7 @@ #ifndef __NET_H__ #define __NET_H__ +#include <linux/types.h> #include <asm/cache.h> #include <asm/byteorder.h> /* for nton* / ntoh* stuff */ #include <env.h> @@ -20,7 +21,9 @@ #include <linux/if_ether.h> #include <rand.h> +struct bd_info; struct cmd_tbl_s; +struct udevice; #define DEBUG_LL_STATE 0 /* Link local state machine changes */ #define DEBUG_DEV_PKT 0 /* Packets or info directed to the device */ @@ -188,12 +191,12 @@ struct eth_device { phys_addr_t iobase; int state; - int (*init)(struct eth_device *, bd_t *); + int (*init)(struct eth_device *eth, struct bd_info *bd); int (*send)(struct eth_device *, void *packet, int length); int (*recv)(struct eth_device *); void (*halt)(struct eth_device *); int (*mcast)(struct eth_device *, const u8 *enetaddr, int join); - int (*write_hwaddr)(struct eth_device *); + int (*write_hwaddr)(struct eth_device *eth); struct eth_device *next; int index; void *priv; @@ -246,7 +249,7 @@ static __always_inline void eth_halt_state_only(void) int eth_write_hwaddr(struct eth_device *dev, const char *base_name, int eth_number); -int usb_eth_initialize(bd_t *bi); +int usb_eth_initialize(struct bd_info *bi); #endif int eth_initialize(void); /* Initialize network subsystem */ diff --git a/include/netdev.h b/include/netdev.h index 68a3fceab66..f2d21c45d0f 100644 --- a/include/netdev.h +++ b/include/netdev.h @@ -125,6 +125,7 @@ int fec_probe(bd_t *bd, int dev_id, uint32_t base_addr, /* * Allow FEC to fine-tune MII configuration on boards which require this. */ +struct eth_device; int fecmxc_register_mii_postcall(struct eth_device *dev, int (*cb)(int)); #endif diff --git a/include/scsi.h b/include/scsi.h index 61da958bf68..96cb7266762 100644 --- a/include/scsi.h +++ b/include/scsi.h @@ -6,6 +6,7 @@ #ifndef _SCSI_H #define _SCSI_H +#include <asm/cache.h> #include <linux/dma-direction.h> struct scsi_cmd { diff --git a/lib/efi_loader/efi_device_path.c b/lib/efi_loader/efi_device_path.c index 73f1fe75a83..3c53c55b218 100644 --- a/lib/efi_loader/efi_device_path.c +++ b/lib/efi_loader/efi_device_path.c @@ -8,6 +8,7 @@ #include <common.h> #include <blk.h> #include <dm.h> +#include <net.h> #include <usb.h> #include <mmc.h> #include <nvme.h> diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c index 97d90f069a6..b8c518614e8 100644 --- a/lib/efi_loader/efi_memory.c +++ b/lib/efi_loader/efi_memory.c @@ -11,6 +11,7 @@ #include <malloc.h> #include <mapmem.h> #include <watchdog.h> +#include <asm/cache.h> #include <linux/list_sort.h> #include <linux/sizes.h> diff --git a/lib/efi_loader/efi_net.c b/lib/efi_loader/efi_net.c index 82d2595847a..22f0123eca4 100644 --- a/lib/efi_loader/efi_net.c +++ b/lib/efi_loader/efi_net.c @@ -18,6 +18,7 @@ #include <common.h> #include <efi_loader.h> #include <malloc.h> +#include <net.h> static const efi_guid_t efi_net_guid = EFI_SIMPLE_NETWORK_PROTOCOL_GUID; static const efi_guid_t efi_pxe_base_code_protocol_guid = diff --git a/lib/efi_selftest/efi_selftest_block_device.c b/lib/efi_selftest/efi_selftest_block_device.c index d98a854e6d1..5eb297d285a 100644 --- a/lib/efi_selftest/efi_selftest_block_device.c +++ b/lib/efi_selftest/efi_selftest_block_device.c @@ -15,6 +15,7 @@ #include <efi_selftest.h> #include "efi_selftest_disk_image.h" +#include <asm/cache.h> /* Block size of compressed disk image */ #define COMPRESSED_DISK_IMAGE_BLOCK_SIZE 8 diff --git a/lib/efi_selftest/efi_selftest_console.c b/lib/efi_selftest/efi_selftest_console.c index 42f51b65203..13f3ee6bc19 100644 --- a/lib/efi_selftest/efi_selftest_console.c +++ b/lib/efi_selftest/efi_selftest_console.c @@ -6,6 +6,7 @@ */ #include <efi_selftest.h> +#include <net.h> #include <vsprintf.h> struct efi_simple_text_output_protocol *con_out; diff --git a/lib/efi_selftest/efi_selftest_snp.c b/lib/efi_selftest/efi_selftest_snp.c index 9797ecaf42e..79f04678039 100644 --- a/lib/efi_selftest/efi_selftest_snp.c +++ b/lib/efi_selftest/efi_selftest_snp.c @@ -15,6 +15,7 @@ */ #include <efi_selftest.h> +#include <net.h> /* * MAC address for broadcasts diff --git a/lib/fdtdec.c b/lib/fdtdec.c index eb11fc898e3..c44a0f5be5e 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -10,6 +10,7 @@ #include <hang.h> #include <init.h> #include <malloc.h> +#include <net.h> #include <dm/of_extra.h> #include <env.h> #include <errno.h> diff --git a/lib/image-sparse.c b/lib/image-sparse.c index 036062139bb..df623adc58e 100644 --- a/lib/image-sparse.c +++ b/lib/image-sparse.c @@ -41,6 +41,7 @@ #include <malloc.h> #include <part.h> #include <sparse_format.h> +#include <asm/cache.h> #include <linux/math64.h> diff --git a/lib/linux_compat.c b/lib/linux_compat.c index 89a6fd6ec96..c83426f59dc 100644 --- a/lib/linux_compat.c +++ b/lib/linux_compat.c @@ -2,6 +2,7 @@ #include <common.h> #include <malloc.h> #include <memalign.h> +#include <asm/cache.h> #include <linux/compat.h> struct p_current cur = { diff --git a/lib/net_utils.c b/lib/net_utils.c index 8af77829705..0a8a557319c 100644 --- a/lib/net_utils.c +++ b/lib/net_utils.c @@ -10,6 +10,7 @@ */ #include <common.h> +#include <net.h> struct in_addr string_to_ip(const char *s) { diff --git a/lib/uuid.c b/lib/uuid.c index db26911414a..1b57917320e 100644 --- a/lib/uuid.c +++ b/lib/uuid.c @@ -5,6 +5,7 @@ #include <common.h> #include <env.h> +#include <rand.h> #include <time.h> #include <uuid.h> #include <linux/ctype.h> diff --git a/net/arp.c b/net/arp.c index b49c3d3ced9..4b12b699d09 100644 --- a/net/arp.c +++ b/net/arp.c @@ -10,6 +10,7 @@ */ #include <common.h> +#include <net.h> #include "arp.h" diff --git a/net/bootp.c b/net/bootp.c index c73a82e642c..2c918d83796 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -13,6 +13,7 @@ #include <env.h> #include <efi_loader.h> #include <net.h> +#include <rand.h> #include <uuid.h> #include <net/tftp.h> #include "bootp.h" diff --git a/net/ping.c b/net/ping.c index 633c942e678..024e8eab909 100644 --- a/net/ping.c +++ b/net/ping.c @@ -11,6 +11,7 @@ #include "ping.h" #include "arp.h" +#include <net.h> static ushort ping_seq_number; diff --git a/test/lib/test_aes.c b/test/lib/test_aes.c index fb8a0b17ba4..cbc712f7eda 100644 --- a/test/lib/test_aes.c +++ b/test/lib/test_aes.c @@ -8,6 +8,7 @@ #include <common.h> #include <command.h> #include <hexdump.h> +#include <rand.h> #include <uboot_aes.h> #include <test/lib.h> #include <test/test.h>
Move this header out of the common header. Network support is used in quite a few places but it still does not warrant blanket inclusion. Note that this net.h header itself has quite a lot in it. It could be split into the driver-mode support, functions, structures, checksumming, etc. Signed-off-by: Simon Glass <sjg at chromium.org> --- Changes in v2: None arch/arm/cpu/arm11/cpu.c | 1 + arch/arm/cpu/arm1136/mx35/generic.c | 1 + arch/arm/cpu/arm926ejs/cache.c | 1 + arch/arm/cpu/arm926ejs/cpu.c | 1 + arch/arm/cpu/arm926ejs/lpc32xx/cpu.c | 1 + arch/arm/cpu/arm926ejs/mx25/generic.c | 1 + arch/arm/cpu/arm926ejs/mx27/generic.c | 1 + arch/arm/cpu/arm926ejs/mxs/mxs.c | 1 + arch/arm/cpu/armv7/cache_v7.c | 1 + arch/arm/cpu/armv7/iproc-common/hwinit-common.c | 1 + arch/arm/cpu/armv7/kona-common/hwinit-common.c | 1 + arch/arm/cpu/armv7/ls102xa/cpu.c | 1 + arch/arm/cpu/armv7/ls102xa/fdt.c | 1 + arch/arm/cpu/armv7/sunxi/psci.c | 1 + arch/arm/cpu/armv7/vf610/generic.c | 2 ++ arch/arm/cpu/armv7/virt-v7.c | 1 + arch/arm/cpu/armv7m/cache.c | 1 + arch/arm/cpu/armv8/cache_v8.c | 1 + arch/arm/cpu/armv8/cpu-dt.c | 1 + arch/arm/cpu/armv8/cpu.c | 1 + arch/arm/cpu/armv8/exception_level.c | 1 + arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 ++ arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 1 + arch/arm/cpu/armv8/fsl-layerscape/mp.c | 1 + arch/arm/cpu/armv8/fsl-layerscape/ppa.c | 1 + arch/arm/cpu/armv8/fsl-layerscape/soc.c | 1 + arch/arm/cpu/armv8/fsl-layerscape/spl.c | 1 + arch/arm/cpu/armv8/fwcall.c | 1 + arch/arm/cpu/armv8/s32v234/cpu.c | 1 + arch/arm/cpu/armv8/s32v234/generic.c | 1 + arch/arm/cpu/armv8/sec_firmware.c | 1 + arch/arm/cpu/pxa/cache.c | 1 + arch/arm/cpu/pxa/pxa2xx.c | 1 + arch/arm/include/asm/arch-tegra/cboot.h | 3 +++ arch/arm/include/asm/mach-imx/dma.h | 1 + arch/arm/lib/bootm.c | 1 + arch/arm/lib/cache.c | 1 + arch/arm/lib/psci-dt.c | 1 + arch/arm/lib/spl.c | 1 + arch/arm/mach-bcm283x/mbox.c | 1 + arch/arm/mach-exynos/lowlevel_init.c | 1 + arch/arm/mach-exynos/soc.c | 1 + arch/arm/mach-exynos/spl_boot.c | 1 + arch/arm/mach-imx/cache.c | 1 + arch/arm/mach-imx/cpu.c | 1 + arch/arm/mach-imx/imx8/cpu.c | 1 + arch/arm/mach-imx/mx5/soc.c | 1 + arch/arm/mach-imx/mx7/psci-mx7.c | 1 + arch/arm/mach-imx/sip.c | 1 + arch/arm/mach-k3/common.c | 1 + arch/arm/mach-k3/security.c | 1 + arch/arm/mach-k3/sysfw-loader.c | 1 + arch/arm/mach-keystone/init.c | 1 + arch/arm/mach-kirkwood/cache.c | 1 + arch/arm/mach-kirkwood/cpu.c | 1 + arch/arm/mach-mediatek/mt7622/init.c | 1 + arch/arm/mach-mediatek/mt8512/init.c | 1 + arch/arm/mach-mediatek/mt8516/init.c | 1 + arch/arm/mach-mediatek/mt8518/init.c | 1 + arch/arm/mach-meson/board-axg.c | 1 + arch/arm/mach-meson/board-common.c | 2 ++ arch/arm/mach-meson/board-g12a.c | 1 + arch/arm/mach-meson/board-gx.c | 1 + arch/arm/mach-meson/sm.c | 1 + arch/arm/mach-mvebu/arm64-common.c | 1 + arch/arm/mach-omap2/am33xx/board.c | 1 + arch/arm/mach-omap2/omap3/emac.c | 1 + arch/arm/mach-orion5x/cpu.c | 1 + arch/arm/mach-rmobile/cpu_info.c | 1 + arch/arm/mach-rmobile/emac.c | 1 + arch/arm/mach-rockchip/board.c | 1 + arch/arm/mach-rockchip/bootrom.c | 1 + arch/arm/mach-s5pc1xx/cache.c | 1 + arch/arm/mach-socfpga/misc.c | 1 + arch/arm/mach-stm32mp/cpu.c | 1 + arch/arm/mach-stm32mp/psci.c | 1 + arch/arm/mach-sunxi/board.c | 1 + arch/arm/mach-tegra/board.c | 1 + arch/arm/mach-tegra/cboot.c | 1 + arch/arm/mach-tegra/tegra210/clock.c | 1 + arch/arm/mach-u8500/cache.c | 1 + arch/arm/mach-uniphier/arm32/psci.c | 1 + arch/arm/mach-uniphier/micro-support-card.c | 3 ++- arch/arm/mach-versal/cpu.c | 1 + arch/arm/mach-zynq/cpu.c | 1 + arch/arm/mach-zynqmp/cpu.c | 1 + arch/m68k/cpu/mcf523x/cpu.c | 1 + arch/m68k/cpu/mcf52x2/cpu.c | 1 + arch/m68k/cpu/mcf532x/cpu.c | 1 + arch/m68k/cpu/mcf5445x/cpu.c | 1 + arch/m68k/cpu/mcf547x_8x/cpu.c | 1 + arch/microblaze/cpu/cache.c | 1 + arch/microblaze/lib/bootm.c | 1 + arch/mips/include/asm/cacheops.h | 2 ++ arch/mips/lib/cache.c | 1 + arch/nds32/lib/cache.c | 1 + arch/powerpc/cpu/mpc83xx/cpu.c | 1 + arch/powerpc/cpu/mpc85xx/cpu_init.c | 1 + arch/powerpc/cpu/mpc8xx/cpu.c | 1 + arch/powerpc/cpu/mpc8xxx/cpu.c | 1 + arch/riscv/cpu/ax25/cache.c | 1 + arch/riscv/cpu/generic/cpu.c | 1 + arch/sh/cpu/sh4/cache.c | 1 + arch/sh/cpu/sh4/cpu.c | 1 + arch/x86/cpu/mtrr.c | 1 + arch/x86/cpu/quark/dram.c | 1 + arch/x86/include/asm/mp.h | 1 + arch/x86/lib/coreboot_table.c | 1 + board/AndesTech/adp-ae3xx/adp-ae3xx.c | 1 + board/AndesTech/adp-ag101p/adp-ag101p.c | 1 + board/AndesTech/ax25-ae350/ax25-ae350.c | 1 + board/Arcturus/ucp1020/ucp1020.c | 1 + board/CZ.NIC/turris_mox/turris_mox.c | 1 + board/CZ.NIC/turris_omnia/turris_omnia.c | 1 + board/Marvell/db-88f6720/db-88f6720.c | 1 + board/Marvell/db-88f6820-amc/db-88f6820-amc.c | 1 + board/Marvell/db-88f6820-gp/db-88f6820-gp.c | 1 + board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c | 1 + board/Synology/ds414/cmd_syno.c | 1 + board/abilis/tb100/tb100.c | 1 + board/advantech/dms-ba16/dms-ba16.c | 1 + board/amlogic/p200/p200.c | 1 + board/amlogic/p201/p201.c | 1 + board/amlogic/p212/p212.c | 1 + board/amlogic/q200/q200.c | 1 + board/amlogic/s400/s400.c | 1 + board/amlogic/sei510/sei510.c | 1 + board/amlogic/sei610/sei610.c | 1 + board/amlogic/u200/u200.c | 1 + board/amlogic/w400/w400.c | 1 + board/armltd/integrator/integrator.c | 1 + board/armltd/vexpress/vexpress_common.c | 1 + board/armltd/vexpress64/vexpress64.c | 1 + board/atmel/at91rm9200ek/at91rm9200ek.c | 1 + board/atmel/at91sam9n12ek/at91sam9n12ek.c | 1 + board/atmel/common/mac-spi-nor.c | 1 + board/atmel/common/mac_eeprom.c | 1 + board/bachmann/ot1200/ot1200.c | 1 + board/barco/platinum/platinum.c | 1 + board/barco/titanium/titanium.c | 1 + board/birdland/bav335x/board.c | 1 + board/bluegiga/apx4devkit/apx4devkit.c | 1 + board/bosch/shc/board.c | 1 + board/boundary/nitrogen6x/nitrogen6x.c | 1 + board/broadcom/bcm_ep/board.c | 2 ++ board/broadcom/bcmns2/northstar2.c | 1 + board/cavium/thunderx/atf.c | 1 + board/cavium/thunderx/thunderx.c | 1 + board/ccv/xpress/xpress.c | 1 + board/cirrus/edb93xx/edb93xx.c | 1 + board/compulab/cl-som-imx7/cl-som-imx7.c | 1 + board/compulab/cm_fx6/cm_fx6.c | 1 + board/compulab/cm_t335/cm_t335.c | 1 + board/compulab/cm_t43/cm_t43.c | 1 + board/compulab/cm_t54/cm_t54.c | 1 + board/congatec/cgtqmx6eval/cgtqmx6eval.c | 1 + board/creative/xfi3/xfi3.c | 1 + board/dhelectronics/dh_stm32mp1/board.c | 1 + board/el/el6x/el6x.c | 1 + board/embest/mx6boards/mx6boards.c | 1 + board/esd/meesc/meesc.c | 1 + board/esd/vme8349/vme8349.c | 1 + board/freescale/b4860qds/eth_b4860qds.c | 1 + board/freescale/bsc9132qds/bsc9132qds.c | 1 + board/freescale/c29xpcie/c29xpcie.c | 1 + board/freescale/common/ns_access.c | 1 + board/freescale/corenet_ds/eth_hydra.c | 1 + board/freescale/corenet_ds/eth_p4080.c | 1 + board/freescale/corenet_ds/eth_superhydra.c | 1 + board/freescale/ls1012afrdm/ls1012afrdm.c | 1 + board/freescale/ls1012aqds/ls1012aqds.c | 1 + board/freescale/ls1012ardb/ls1012ardb.c | 1 + board/freescale/ls1021aiot/ls1021aiot.c | 1 + board/freescale/ls1021aqds/eth.c | 1 + board/freescale/ls1021atsn/ls1021atsn.c | 1 + board/freescale/ls1021atwr/ls1021atwr.c | 1 + board/freescale/ls1028a/ls1028a.c | 1 + board/freescale/ls1043aqds/eth.c | 1 + board/freescale/ls1043ardb/eth.c | 1 + board/freescale/ls1046afrwy/eth.c | 1 + board/freescale/ls1046aqds/eth.c | 1 + board/freescale/ls1046ardb/eth.c | 1 + board/freescale/m5253demo/m5253demo.c | 1 + board/freescale/mpc8308rdb/mpc8308rdb.c | 1 + board/freescale/mpc8315erdb/mpc8315erdb.c | 1 + board/freescale/mpc837xemds/mpc837xemds.c | 1 + board/freescale/mpc8536ds/mpc8536ds.c | 1 + board/freescale/mpc8544ds/mpc8544ds.c | 1 + board/freescale/mpc8548cds/mpc8548cds.c | 1 + board/freescale/mpc8572ds/mpc8572ds.c | 1 + board/freescale/mpc8610hpcd/mpc8610hpcd.c | 1 + board/freescale/mpc8641hpcn/mpc8641hpcn.c | 1 + board/freescale/mx28evk/mx28evk.c | 1 + board/freescale/mx31pdk/mx31pdk.c | 1 + board/freescale/mx35pdk/mx35pdk.c | 1 + board/freescale/mx53ard/mx53ard.c | 1 + board/freescale/mx6qarm2/mx6qarm2.c | 1 + board/freescale/mx6sabreauto/mx6sabreauto.c | 1 + board/freescale/mx6sabresd/mx6sabresd.c | 1 + board/freescale/mx6slevk/mx6slevk.c | 1 + board/freescale/mx6sxsabreauto/mx6sxsabreauto.c | 1 + board/freescale/mx6sxsabresd/mx6sxsabresd.c | 1 + board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 1 + board/freescale/mx7dsabresd/mx7dsabresd.c | 1 + board/freescale/p1010rdb/p1010rdb.c | 1 + board/freescale/p1022ds/p1022ds.c | 1 + board/freescale/p1023rdb/p1023rdb.c | 1 + board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c | 1 + board/freescale/p1_twr/p1_twr.c | 1 + board/freescale/p2041rdb/eth.c | 1 + board/freescale/qemu-ppce500/qemu-ppce500.c | 1 + board/freescale/t102xqds/eth_t102xqds.c | 1 + board/freescale/t102xrdb/eth_t102xrdb.c | 1 + board/freescale/t1040qds/eth.c | 1 + board/freescale/t104xrdb/eth.c | 1 + board/freescale/t208xqds/eth_t208xqds.c | 1 + board/freescale/t208xrdb/eth_t208xrdb.c | 1 + board/freescale/t4qds/eth.c | 1 + board/freescale/t4rdb/eth.c | 1 + board/gateworks/gw_ventana/gw_ventana.c | 1 + board/gdsys/a38x/controlcenterdc.c | 1 + board/gdsys/p1022/controlcenterd.c | 1 + board/grinn/chiliboard/board.c | 1 + board/gumstix/duovero/duovero.c | 1 + board/gumstix/pepper/board.c | 1 + board/highbank/highbank.c | 1 + board/hisilicon/hikey960/hikey960.c | 1 + board/hisilicon/poplar/poplar.c | 1 + board/imgtec/malta/malta.c | 1 + board/isee/igep003x/board.c | 1 + board/isee/igep00x0/igep00x0.c | 1 + board/k+p/kp_imx53/kp_id_rev.c | 1 + board/keymile/kmp204x/eth.c | 1 + board/kmc/kzm9g/kzm9g.c | 1 + board/kobol/helios4/helios4.c | 1 + board/liebherr/xea/xea.c | 1 + board/logicpd/am3517evm/am3517evm.c | 1 + board/logicpd/omap3som/omap3logic.c | 1 + board/logicpd/zoom1/zoom1.c | 1 + board/mpc8308_p1m/mpc8308_p1m.c | 1 + board/nvidia/p2371-2180/p2371-2180.c | 1 + board/nvidia/p2771-0000/p2771-0000.c | 1 + board/overo/overo.c | 1 + board/phytec/pcm051/board.c | 1 + board/phytec/pcm058/pcm058.c | 1 + board/phytec/pfla02/pfla02.c | 1 + board/phytec/phycore_rk3288/phycore-rk3288.c | 1 + board/phytium/durian/durian.c | 1 + board/ppcag/bg0900/bg0900.c | 1 + board/qemu-mips/qemu-mips.c | 1 + board/qualcomm/dragonboard410c/dragonboard410c.c | 2 ++ board/qualcomm/dragonboard820c/dragonboard820c.c | 1 + board/renesas/MigoR/migo_r.c | 1 + board/renesas/blanche/blanche.c | 1 + board/renesas/r2dplus/r2dplus.c | 1 + board/renesas/r7780mp/r7780mp.c | 1 + board/renesas/sh7752evb/sh7752evb.c | 1 + board/renesas/sh7753evb/sh7753evb.c | 1 + board/renesas/sh7757lcr/sh7757lcr.c | 1 + board/rockchip/tinker_rk3288/tinker-rk3288.c | 1 + board/samsung/common/board.c | 1 + board/samsung/smdkc100/smdkc100.c | 1 + board/samsung/smdkv310/smdkv310.c | 1 + board/sandisk/sansa_fuze_plus/sfp.c | 1 + board/sbc8548/sbc8548.c | 1 + board/schulercontrol/sc_sps_1/sc_sps_1.c | 1 + board/seco/mx6quq7/mx6quq7.c | 1 + board/siemens/draco/board.c | 1 + board/siemens/pxm2/board.c | 1 + board/siemens/rut/board.c | 1 + board/siemens/smartweb/smartweb.c | 1 + board/silica/pengwyn/board.c | 1 + board/sks-kinkel/sksimx6/sksimx6.c | 1 + board/softing/vining_2000/vining_2000.c | 1 + board/softing/vining_fpga/socfpga.c | 1 + board/solidrun/clearfog/clearfog.c | 1 + board/solidrun/mx6cuboxi/mx6cuboxi.c | 1 + board/spear/spear300/spear300.c | 1 + board/spear/spear310/spear310.c | 1 + board/spear/spear320/spear320.c | 1 + board/spear/spear600/spear600.c | 1 + board/spear/x600/x600.c | 1 + board/st/stih410-b2260/board.c | 1 + board/st/stm32mp1/stm32mp1.c | 1 + board/st/stv0991/stv0991.c | 1 + board/synopsys/axs10x/axs10x.c | 1 + board/synopsys/hsdk/hsdk.c | 1 + board/tcl/sl50/board.c | 1 + board/technexion/pico-imx6/pico-imx6.c | 1 + board/technexion/pico-imx6ul/pico-imx6ul.c | 1 + board/technexion/pico-imx7d/pico-imx7d.c | 1 + board/technologic/ts4800/ts4800.c | 1 + board/theadorable/theadorable.c | 1 + board/ti/am335x/board.c | 1 + board/ti/am43xx/board.c | 1 + board/ti/am57xx/board.c | 1 + board/ti/am65x/evm.c | 1 + board/ti/beagle/beagle.c | 1 + board/ti/common/board_detect.c | 1 + board/ti/dra7xx/evm.c | 1 + board/ti/evm/evm.c | 1 + board/ti/j721e/evm.c | 1 + board/ti/omap5_uevm/evm.c | 1 + board/ti/panda/panda.c | 1 + board/ti/sdp4430/sdp.c | 1 + board/ti/ti814x/evm.c | 1 + board/ti/ti816x/evm.c | 1 + board/toradex/apalis_imx6/apalis_imx6.c | 1 + board/toradex/colibri_imx6/colibri_imx6.c | 1 + board/toradex/colibri_imx7/colibri_imx7.c | 1 + board/toradex/colibri_pxa270/colibri_pxa270.c | 1 + board/toradex/common/tdx-cfg-block.c | 1 + board/tqc/tqma6/tqma6_mba6.c | 1 + board/tqc/tqma6/tqma6_wru4.c | 1 + board/ucRobotics/bubblegum_96/bubblegum_96.c | 1 + board/udoo/neo/neo.c | 1 + board/udoo/udoo.c | 1 + board/variscite/dart_6ul/dart_6ul.c | 1 + board/varisys/cyrus/eth.c | 1 + board/vscom/baltos/board.c | 1 + board/warp7/warp7.c | 1 + board/xilinx/versal/board.c | 1 + board/xilinx/zynqmp/zynqmp.c | 2 ++ cmd/bdinfo.c | 2 ++ cmd/elf.c | 1 + cmd/ethsw.c | 1 + cmd/fat.c | 1 + cmd/load.c | 1 + cmd/mem.c | 1 + cmd/mvebu/bubt.c | 1 + cmd/nand.c | 1 + cmd/nvedit.c | 1 + cmd/pxe_utils.c | 1 + cmd/sf.c | 1 + cmd/tlv_eeprom.c | 1 + cmd/ximg.c | 1 + common/board_f.c | 1 + common/board_r.c | 1 + common/bootm.c | 2 ++ common/bouncebuf.c | 1 + common/fdt_support.c | 1 + common/hash.c | 1 + common/image.c | 1 + common/lcd.c | 1 + common/main.c | 1 + common/spl/spl_atf.c | 1 + common/spl/spl_fit.c | 1 + common/usb_storage.c | 1 + disk/part_efi.c | 1 + disk/part_iso.c | 1 + drivers/ata/dwc_ahsata.c | 1 + drivers/ata/sata_mv.c | 1 + drivers/bootcount/bootcount.c | 1 + drivers/bootcount/bootcount_ram.c | 1 + drivers/clk/clk_versal.c | 1 + drivers/core/device.c | 1 + drivers/crypto/ace_sha.c | 1 + drivers/crypto/fsl/fsl_blob.c | 1 + drivers/crypto/fsl/fsl_hash.c | 1 + drivers/crypto/fsl/jobdesc.c | 1 + drivers/crypto/fsl/jr.c | 2 ++ drivers/ddr/altera/sdram_arria10.c | 1 + drivers/ddr/altera/sdram_soc64.c | 1 + drivers/dma/apbh_dma.c | 1 + drivers/dma/bcm6348-iudma.c | 1 + drivers/dma/dma-uclass.c | 1 + drivers/dma/ti-edma3.c | 1 + drivers/dma/ti/k3-udma.c | 1 + drivers/firmware/firmware-zynqmp.c | 1 + drivers/fpga/versalpl.c | 1 + drivers/fpga/zynqmppl.c | 1 + drivers/fpga/zynqpl.c | 1 + drivers/mmc/dw_mmc.c | 1 + drivers/mmc/fsl_esdhc.c | 1 + drivers/mmc/fsl_esdhc_imx.c | 1 + drivers/mmc/omap_hsmmc.c | 1 + drivers/mmc/sdhci.c | 1 + drivers/mmc/stm32_sdmmc2.c | 1 + drivers/mtd/nand/raw/denali.c | 3 +++ drivers/mtd/nand/raw/mxs_nand.c | 1 + drivers/mtd/nand/raw/mxs_nand_spl.c | 1 + drivers/mtd/nand/raw/nand_util.c | 1 + drivers/net/ag7xxx.c | 2 ++ drivers/net/bcm-sf2-eth-gmac.c | 1 + drivers/net/bcmgenet.c | 1 + drivers/net/calxedaxgmac.c | 1 + drivers/net/designware.c | 2 ++ drivers/net/designware.h | 3 +++ drivers/net/dwc_eth_qos.c | 1 + drivers/net/e1000.c | 2 ++ drivers/net/ep93xx_eth.c | 1 + drivers/net/fec_mxc.c | 1 + drivers/net/fm/init.c | 1 + drivers/net/fsl_enetc.c | 2 ++ drivers/net/ftgmac100.c | 1 + drivers/net/ftmac110.c | 1 + drivers/net/gmac_rockchip.c | 1 + drivers/net/higmacv300.c | 1 + drivers/net/mt7628-eth.c | 1 + drivers/net/mtk_eth.c | 2 ++ drivers/net/mvneta.c | 1 + drivers/net/mvpp2.c | 1 + drivers/net/pcnet.c | 1 + drivers/net/phy/aquantia.c | 1 + drivers/net/ravb.c | 1 + drivers/net/rtl8169.c | 1 + drivers/net/sh_eth.c | 1 + drivers/net/smc91111.h | 1 + drivers/net/smc911x.h | 1 + drivers/net/sni_ave.c | 1 + drivers/net/sun8i_emac.c | 1 + drivers/net/ti/am65-cpsw-nuss.c | 1 + drivers/net/ti/davinci_emac.c | 1 + drivers/net/zynq_gem.c | 1 + drivers/ram/stm32mp1/stm32mp1_tests.c | 1 + drivers/ram/stm32mp1/stm32mp1_tuning.c | 1 + drivers/remoteproc/rproc-elf-loader.c | 1 + drivers/rng/sandbox_rng.c | 1 + drivers/soc/ti/k3-navss-ringacc.c | 1 + drivers/spi/mxs_spi.c | 1 + drivers/spi/ti_qspi.c | 1 + drivers/spi/zynqmp_gqspi.c | 1 + drivers/usb/cdns3/ep0.c | 1 + drivers/usb/eth/asix.c | 1 + drivers/usb/eth/lan78xx.c | 1 + drivers/usb/eth/lan7x.c | 1 + drivers/usb/eth/mcs7830.c | 1 + drivers/usb/eth/r8152.c | 1 + drivers/usb/eth/smsc95xx.c | 1 + drivers/usb/eth/usb_ether.c | 2 ++ drivers/usb/gadget/ci_udc.c | 1 + drivers/usb/host/dwc2.c | 1 + drivers/usb/host/ehci-hcd.c | 1 + drivers/usb/host/ohci-hcd.c | 1 + drivers/video/bcm2835.c | 1 + drivers/video/fsl_dcu_fb.c | 1 + drivers/video/imx/mxc_ipuv3_fb.c | 1 + drivers/video/mvebu_lcd.c | 1 + drivers/video/mxsfb.c | 1 + drivers/video/tegra.c | 1 + drivers/video/video-uclass.c | 1 + env/fat.c | 1 + env/sf.c | 1 + examples/standalone/smc911x_eeprom.c | 1 + fs/ext4/ext4_common.h | 1 + fs/fat/fat.c | 1 + fs/fat/fat_write.c | 1 + include/common.h | 1 - include/dwmmc.h | 1 + include/log.h | 1 + include/net.h | 9 ++++++--- include/netdev.h | 1 + include/scsi.h | 1 + lib/efi_loader/efi_device_path.c | 1 + lib/efi_loader/efi_memory.c | 1 + lib/efi_loader/efi_net.c | 1 + lib/efi_selftest/efi_selftest_block_device.c | 1 + lib/efi_selftest/efi_selftest_console.c | 1 + lib/efi_selftest/efi_selftest_snp.c | 1 + lib/fdtdec.c | 1 + lib/image-sparse.c | 1 + lib/linux_compat.c | 1 + lib/net_utils.c | 1 + lib/uuid.c | 1 + net/arp.c | 1 + net/bootp.c | 1 + net/ping.c | 1 + test/lib/test_aes.c | 1 + 468 files changed, 495 insertions(+), 5 deletions(-)