diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 11:39:56 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-18 17:33:31 -0400 |
commit | 90526e9fbac47af16d70f323feae45d8d1b0f9b7 (patch) | |
tree | 2a89900cbb7a569491f0d9cab5835c7296ef2c25 /drivers | |
parent | c3dc39a2f85b16bf590789f7e283cd72275cd168 (diff) | |
download | u-boot-90526e9fbac47af16d70f323feae45d8d1b0f9b7.zip u-boot-90526e9fbac47af16d70f323feae45d8d1b0f9b7.tar.gz u-boot-90526e9fbac47af16d70f323feae45d8d1b0f9b7.tar.bz2 |
common: Drop net.h from common header
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@chromium.org>
Diffstat (limited to 'drivers')
92 files changed, 104 insertions, 0 deletions
diff --git a/drivers/ata/dwc_ahsata.c b/drivers/ata/dwc_ahsata.c index 2bc1de8..d2aa1a6 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 9ced9c0..7f51fb6 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 655dfaf..e8db854 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 9c678e2..078c84d 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 075a083..8b202fa 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 0157bb1..ee0c861 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/cpu/imx8_cpu.c b/drivers/cpu/imx8_cpu.c index 95c14c9..9d1d8d7 100644 --- a/drivers/cpu/imx8_cpu.c +++ b/drivers/cpu/imx8_cpu.c @@ -7,6 +7,7 @@ #include <cpu.h> #include <dm.h> #include <thermal.h> +#include <asm/system.h> #include <asm/arch/sci/sci.h> #include <asm/arch/sys_proto.h> #include <asm/arch-imx/cpu.h> diff --git a/drivers/crypto/ace_sha.c b/drivers/crypto/ace_sha.c index 3461105..b5321ed 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 0531b1b..c2059b8 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 74e38ca..e63def8 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 637ef29..2f35e0c 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 aa84f2c..9228149 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 2fd50b7..049f202 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 1f7ead0..c06fba9 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 69eb040..da988f6 100644 --- a/drivers/dma/apbh_dma.c +++ b/drivers/dma/apbh_dma.c @@ -12,6 +12,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 d99460f..70bdb65 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 9d5a7fc..d2b0b63 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 7e11b13..77c4ba9 100644 --- a/drivers/dma/ti-edma3.c +++ b/drivers/dma/ti-edma3.c @@ -8,6 +8,7 @@ * Author: Ivan Khoronzhuk <ivan.khoronzhuk@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 a0e536a..5b11f24 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 c376425..4774645 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 6c69ab7..8ab19e0 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 4a826e4..a2a5f9c 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 21624f7..6370caf 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 1224540..6290b7f 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 386781d..a35e791 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 6bca2a9..0cdf5a0 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 4d0dc33..886299a 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 8bb4393..0cec0a7 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> #include <phys2bus.h> diff --git a/drivers/mmc/stm32_sdmmc2.c b/drivers/mmc/stm32_sdmmc2.c index fa6fc94..83ab3f0 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 3a09a81..a58d7ce 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 e3516cd..a7852a8 100644 --- a/drivers/mtd/nand/raw/mxs_nand.c +++ b/drivers/mtd/nand/raw/mxs_nand.c @@ -16,6 +16,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 ae50cc3..7bfcbf0 100644 --- a/drivers/mtd/nand/raw/mxs_nand_spl.c +++ b/drivers/mtd/nand/raw/mxs_nand_spl.c @@ -8,6 +8,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 f3c8f7f..9c4af8a 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 e3a7222..11c9124 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 6a25f67..3794e40 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 e971b55..b7b0f57 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 1b7c94f..0dd64e4 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 baac277..34e0da1 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 3519a41..ffaf5a1 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 f67c5f4..6db0b5c 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> #include <eth_phy.h> diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index 9212920..7e98449 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 ecb34b2..8ec7b36 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 910c961..a3fdd35 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 8669d21..f654562 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 bee7315..2fa27c7 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 40e6b3b..3525736 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 8408240..10d5fc3 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 e152faf..85f8d3b 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 0c1dd68..d338643 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 404a046..217c684 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 5ffcc53..59c7599 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 d737400..75831df 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 fcd2486..2906719 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 f97e7f8..b536ad4 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 8ece926..e30a7fd 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 fb4a628..9139b5b 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 5ccdfdd..27dc233 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 f8e5d05..d75bf54 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 0135427..4c3acba 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 ce66900..0a27f3c 100644 --- a/drivers/net/smc911x.h +++ b/drivers/net/smc911x.h @@ -8,6 +8,8 @@ #ifndef _SMC911X_H_ #define _SMC911X_H_ +#include <net.h> + /* Below are the register offsets and bit definitions * of the Lan911x memory space */ diff --git a/drivers/net/sni_ave.c b/drivers/net/sni_ave.c index 5d66a63..0f66508 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 1ae776b..09ea586 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 7531a07..220b461 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 9c6bfca..b5dfa8b 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 a158824..1747f36 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 12298cf..3325dfe 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 3013b7b..d00f465 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 f2e033a..d308100 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 cd0b0ac..cc5e1f6 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 c5661c5..b24a8f1 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 3ca3088..ee44973 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 e3750b0..ef39198 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 02b78df..5d15072 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 1957a3b..4266bd6 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 3a8ec0b..448f524 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 e8ee665..fe8cc6a 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 21786e1..afe78d44 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 75c45ee..a9e0aab 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 e5f73e3..8dae509 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 25f69a06..ab6411f 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 3aca9ac..d76e2ff 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 d9cfff3..5677eab 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 f25ed2d..02ca119 100644 --- a/drivers/usb/host/dwc2.c +++ b/drivers/usb/host/dwc2.c @@ -16,6 +16,7 @@ #include <usb.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 a2a85db..b4e28b9 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 c94960f..ac1ad29 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 1d2eda0..ea5a452 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 076e9ea..e9d05c9 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 c64be38..db8eb4a 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 3ff5b28..2907c53 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 12d00b4..edce791 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -8,6 +8,7 @@ #include <clk.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 f4bae9f..1fa052e 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 3d658e6..eed61cd 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> |