common: Drop net.h from common header
authorSimon Glass <sjg@chromium.org>
Sun, 10 May 2020 17:39:56 +0000 (11:39 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 18 May 2020 21:33:31 +0000 (17:33 -0400)
commit90526e9fbac47af16d70f323feae45d8d1b0f9b7
tree2a89900cbb7a569491f0d9cab5835c7296ef2c25
parentc3dc39a2f85b16bf590789f7e283cd72275cd168
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>
472 files changed:
arch/arm/cpu/arm11/cpu.c
arch/arm/cpu/arm1136/mx35/generic.c
arch/arm/cpu/arm926ejs/cache.c
arch/arm/cpu/arm926ejs/cpu.c
arch/arm/cpu/arm926ejs/mx25/generic.c
arch/arm/cpu/arm926ejs/mx27/generic.c
arch/arm/cpu/arm926ejs/mxs/mxs.c
arch/arm/cpu/armv7/cache_v7.c
arch/arm/cpu/armv7/iproc-common/hwinit-common.c
arch/arm/cpu/armv7/kona-common/hwinit-common.c
arch/arm/cpu/armv7/ls102xa/cpu.c
arch/arm/cpu/armv7/ls102xa/fdt.c
arch/arm/cpu/armv7/sunxi/psci.c
arch/arm/cpu/armv7/vf610/generic.c
arch/arm/cpu/armv7/virt-v7.c
arch/arm/cpu/armv7m/cache.c
arch/arm/cpu/armv8/cache_v8.c
arch/arm/cpu/armv8/cpu-dt.c
arch/arm/cpu/armv8/cpu.c
arch/arm/cpu/armv8/exception_level.c
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
arch/arm/cpu/armv8/fsl-layerscape/fdt.c
arch/arm/cpu/armv8/fsl-layerscape/mp.c
arch/arm/cpu/armv8/fsl-layerscape/ppa.c
arch/arm/cpu/armv8/fsl-layerscape/soc.c
arch/arm/cpu/armv8/fsl-layerscape/spl.c
arch/arm/cpu/armv8/fwcall.c
arch/arm/cpu/armv8/s32v234/cpu.c
arch/arm/cpu/armv8/s32v234/generic.c
arch/arm/cpu/armv8/sec_firmware.c
arch/arm/cpu/pxa/cache.c
arch/arm/cpu/pxa/pxa2xx.c
arch/arm/include/asm/arch-tegra/cboot.h
arch/arm/include/asm/mach-imx/dma.h
arch/arm/lib/bootm.c
arch/arm/lib/cache.c
arch/arm/lib/psci-dt.c
arch/arm/lib/spl.c
arch/arm/mach-bcm283x/mbox.c
arch/arm/mach-exynos/lowlevel_init.c
arch/arm/mach-exynos/soc.c
arch/arm/mach-exynos/spl_boot.c
arch/arm/mach-imx/cache.c
arch/arm/mach-imx/cpu.c
arch/arm/mach-imx/imx8/cpu.c
arch/arm/mach-imx/mx5/soc.c
arch/arm/mach-imx/mx7/psci-mx7.c
arch/arm/mach-imx/sip.c
arch/arm/mach-k3/common.c
arch/arm/mach-k3/security.c
arch/arm/mach-k3/sysfw-loader.c
arch/arm/mach-keystone/init.c
arch/arm/mach-kirkwood/cache.c
arch/arm/mach-kirkwood/cpu.c
arch/arm/mach-lpc32xx/cpu.c
arch/arm/mach-mediatek/mt7622/init.c
arch/arm/mach-mediatek/mt8512/init.c
arch/arm/mach-mediatek/mt8516/init.c
arch/arm/mach-mediatek/mt8518/init.c
arch/arm/mach-meson/board-axg.c
arch/arm/mach-meson/board-common.c
arch/arm/mach-meson/board-g12a.c
arch/arm/mach-meson/board-gx.c
arch/arm/mach-meson/sm.c
arch/arm/mach-mvebu/arm64-common.c
arch/arm/mach-omap2/am33xx/board.c
arch/arm/mach-omap2/omap3/emac.c
arch/arm/mach-orion5x/cpu.c
arch/arm/mach-owl/soc.c
arch/arm/mach-rmobile/cpu_info.c
arch/arm/mach-rmobile/emac.c
arch/arm/mach-rockchip/board.c
arch/arm/mach-rockchip/bootrom.c
arch/arm/mach-s5pc1xx/cache.c
arch/arm/mach-socfpga/misc.c
arch/arm/mach-stm32mp/cpu.c
arch/arm/mach-stm32mp/psci.c
arch/arm/mach-stm32mp/spl.c
arch/arm/mach-sunxi/board.c
arch/arm/mach-tegra/board.c
arch/arm/mach-tegra/cboot.c
arch/arm/mach-tegra/tegra210/clock.c
arch/arm/mach-u8500/cache.c
arch/arm/mach-uniphier/arm32/psci.c
arch/arm/mach-uniphier/micro-support-card.c
arch/arm/mach-versal/cpu.c
arch/arm/mach-zynq/cpu.c
arch/arm/mach-zynqmp/cpu.c
arch/m68k/cpu/mcf523x/cpu.c
arch/m68k/cpu/mcf52x2/cpu.c
arch/m68k/cpu/mcf532x/cpu.c
arch/m68k/cpu/mcf5445x/cpu.c
arch/m68k/cpu/mcf547x_8x/cpu.c
arch/microblaze/cpu/cache.c
arch/microblaze/lib/bootm.c
arch/mips/include/asm/cacheops.h
arch/mips/lib/cache.c
arch/nds32/lib/cache.c
arch/powerpc/cpu/mpc83xx/cpu.c
arch/powerpc/cpu/mpc85xx/cpu_init.c
arch/powerpc/cpu/mpc8xx/cpu.c
arch/powerpc/cpu/mpc8xxx/cpu.c
arch/riscv/cpu/ax25/cache.c
arch/riscv/cpu/generic/cpu.c
arch/sandbox/include/asm/eth.h
arch/sh/cpu/sh4/cache.c
arch/sh/cpu/sh4/cpu.c
arch/x86/cpu/mtrr.c
arch/x86/cpu/quark/dram.c
arch/x86/include/asm/mp.h
arch/x86/lib/coreboot_table.c
board/AndesTech/adp-ae3xx/adp-ae3xx.c
board/AndesTech/adp-ag101p/adp-ag101p.c
board/AndesTech/ax25-ae350/ax25-ae350.c
board/Arcturus/ucp1020/ucp1020.c
board/CZ.NIC/turris_mox/turris_mox.c
board/CZ.NIC/turris_omnia/turris_omnia.c
board/Marvell/db-88f6720/db-88f6720.c
board/Marvell/db-88f6820-amc/db-88f6820-amc.c
board/Marvell/db-88f6820-gp/db-88f6820-gp.c
board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c
board/Synology/ds414/cmd_syno.c
board/abilis/tb100/tb100.c
board/advantech/dms-ba16/dms-ba16.c
board/amlogic/p200/p200.c
board/amlogic/p201/p201.c
board/amlogic/p212/p212.c
board/amlogic/q200/q200.c
board/amlogic/s400/s400.c
board/amlogic/sei510/sei510.c
board/amlogic/sei610/sei610.c
board/amlogic/u200/u200.c
board/amlogic/w400/w400.c
board/armltd/integrator/integrator.c
board/armltd/vexpress/vexpress_common.c
board/armltd/vexpress64/vexpress64.c
board/atmel/at91rm9200ek/at91rm9200ek.c
board/atmel/at91sam9n12ek/at91sam9n12ek.c
board/atmel/common/mac-spi-nor.c
board/atmel/common/mac_eeprom.c
board/bachmann/ot1200/ot1200.c
board/barco/platinum/platinum.c
board/barco/titanium/titanium.c
board/birdland/bav335x/board.c
board/bluegiga/apx4devkit/apx4devkit.c
board/bosch/shc/board.c
board/boundary/nitrogen6x/nitrogen6x.c
board/broadcom/bcm_ep/board.c
board/broadcom/bcmns2/northstar2.c
board/cavium/thunderx/atf.c
board/cavium/thunderx/thunderx.c
board/ccv/xpress/xpress.c
board/cirrus/edb93xx/edb93xx.c
board/compulab/cl-som-imx7/cl-som-imx7.c
board/compulab/cm_fx6/cm_fx6.c
board/compulab/cm_t335/cm_t335.c
board/compulab/cm_t43/cm_t43.c
board/compulab/cm_t54/cm_t54.c
board/congatec/cgtqmx6eval/cgtqmx6eval.c
board/creative/xfi3/xfi3.c
board/dhelectronics/dh_imx6/dh_imx6.c
board/dhelectronics/dh_stm32mp1/board.c
board/el/el6x/el6x.c
board/embest/mx6boards/mx6boards.c
board/esd/meesc/meesc.c
board/esd/vme8349/vme8349.c
board/freescale/b4860qds/eth_b4860qds.c
board/freescale/bsc9132qds/bsc9132qds.c
board/freescale/c29xpcie/c29xpcie.c
board/freescale/common/ns_access.c
board/freescale/corenet_ds/eth_hydra.c
board/freescale/corenet_ds/eth_p4080.c
board/freescale/corenet_ds/eth_superhydra.c
board/freescale/ls1012afrdm/ls1012afrdm.c
board/freescale/ls1012aqds/ls1012aqds.c
board/freescale/ls1012ardb/ls1012ardb.c
board/freescale/ls1021aiot/ls1021aiot.c
board/freescale/ls1021aqds/eth.c
board/freescale/ls1021atsn/ls1021atsn.c
board/freescale/ls1021atwr/ls1021atwr.c
board/freescale/ls1028a/ls1028a.c
board/freescale/ls1043aqds/eth.c
board/freescale/ls1043ardb/eth.c
board/freescale/ls1046afrwy/eth.c
board/freescale/ls1046aqds/eth.c
board/freescale/ls1046ardb/eth.c
board/freescale/m5253demo/m5253demo.c
board/freescale/mpc8308rdb/mpc8308rdb.c
board/freescale/mpc8315erdb/mpc8315erdb.c
board/freescale/mpc837xemds/mpc837xemds.c
board/freescale/mpc8536ds/mpc8536ds.c
board/freescale/mpc8544ds/mpc8544ds.c
board/freescale/mpc8548cds/mpc8548cds.c
board/freescale/mpc8572ds/mpc8572ds.c
board/freescale/mpc8610hpcd/mpc8610hpcd.c
board/freescale/mpc8641hpcn/mpc8641hpcn.c
board/freescale/mx28evk/mx28evk.c
board/freescale/mx31pdk/mx31pdk.c
board/freescale/mx35pdk/mx35pdk.c
board/freescale/mx53ard/mx53ard.c
board/freescale/mx6qarm2/mx6qarm2.c
board/freescale/mx6sabreauto/mx6sabreauto.c
board/freescale/mx6sabresd/mx6sabresd.c
board/freescale/mx6slevk/mx6slevk.c
board/freescale/mx6sxsabreauto/mx6sxsabreauto.c
board/freescale/mx6sxsabresd/mx6sxsabresd.c
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
board/freescale/mx7dsabresd/mx7dsabresd.c
board/freescale/p1010rdb/p1010rdb.c
board/freescale/p1022ds/p1022ds.c
board/freescale/p1023rdb/p1023rdb.c
board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c
board/freescale/p1_twr/p1_twr.c
board/freescale/p2041rdb/eth.c
board/freescale/qemu-ppce500/qemu-ppce500.c
board/freescale/t102xqds/eth_t102xqds.c
board/freescale/t102xrdb/eth_t102xrdb.c
board/freescale/t1040qds/eth.c
board/freescale/t104xrdb/eth.c
board/freescale/t208xqds/eth_t208xqds.c
board/freescale/t208xrdb/eth_t208xrdb.c
board/freescale/t4qds/eth.c
board/freescale/t4rdb/eth.c
board/gateworks/gw_ventana/gw_ventana.c
board/gdsys/a38x/controlcenterdc.c
board/gdsys/p1022/controlcenterd.c
board/grinn/chiliboard/board.c
board/gumstix/duovero/duovero.c
board/gumstix/pepper/board.c
board/highbank/highbank.c
board/hisilicon/hikey960/hikey960.c
board/hisilicon/poplar/poplar.c
board/imgtec/malta/malta.c
board/isee/igep003x/board.c
board/isee/igep00x0/igep00x0.c
board/k+p/kp_imx53/kp_id_rev.c
board/keymile/kmp204x/eth.c
board/kmc/kzm9g/kzm9g.c
board/kobol/helios4/helios4.c
board/liebherr/xea/xea.c
board/logicpd/am3517evm/am3517evm.c
board/logicpd/omap3som/omap3logic.c
board/logicpd/zoom1/zoom1.c
board/mpc8308_p1m/mpc8308_p1m.c
board/nvidia/p2371-2180/p2371-2180.c
board/nvidia/p2771-0000/p2771-0000.c
board/overo/overo.c
board/phytec/pcm051/board.c
board/phytec/pcm058/pcm058.c
board/phytec/pfla02/pfla02.c
board/phytec/phycore_rk3288/phycore-rk3288.c
board/phytium/durian/durian.c
board/ppcag/bg0900/bg0900.c
board/qemu-mips/qemu-mips.c
board/qualcomm/dragonboard410c/dragonboard410c.c
board/qualcomm/dragonboard820c/dragonboard820c.c
board/renesas/MigoR/migo_r.c
board/renesas/blanche/blanche.c
board/renesas/r2dplus/r2dplus.c
board/renesas/r7780mp/r7780mp.c
board/renesas/sh7752evb/sh7752evb.c
board/renesas/sh7753evb/sh7753evb.c
board/renesas/sh7757lcr/sh7757lcr.c
board/rockchip/tinker_rk3288/tinker-rk3288.c
board/samsung/common/board.c
board/samsung/smdkc100/smdkc100.c
board/samsung/smdkv310/smdkv310.c
board/sandisk/sansa_fuze_plus/sfp.c
board/sbc8548/sbc8548.c
board/schulercontrol/sc_sps_1/sc_sps_1.c
board/seco/mx6quq7/mx6quq7.c
board/siemens/draco/board.c
board/siemens/pxm2/board.c
board/siemens/rut/board.c
board/siemens/smartweb/smartweb.c
board/silica/pengwyn/board.c
board/sks-kinkel/sksimx6/sksimx6.c
board/softing/vining_2000/vining_2000.c
board/softing/vining_fpga/socfpga.c
board/solidrun/clearfog/clearfog.c
board/solidrun/mx6cuboxi/mx6cuboxi.c
board/spear/spear300/spear300.c
board/spear/spear310/spear310.c
board/spear/spear320/spear320.c
board/spear/spear600/spear600.c
board/spear/x600/x600.c
board/st/stih410-b2260/board.c
board/st/stm32mp1/stm32mp1.c
board/st/stv0991/stv0991.c
board/synopsys/axs10x/axs10x.c
board/synopsys/hsdk/hsdk.c
board/tcl/sl50/board.c
board/technexion/pico-imx6/pico-imx6.c
board/technexion/pico-imx6ul/pico-imx6ul.c
board/technexion/pico-imx7d/pico-imx7d.c
board/technologic/ts4800/ts4800.c
board/theadorable/theadorable.c
board/ti/am335x/board.c
board/ti/am43xx/board.c
board/ti/am57xx/board.c
board/ti/am65x/evm.c
board/ti/beagle/beagle.c
board/ti/common/board_detect.c
board/ti/dra7xx/evm.c
board/ti/evm/evm.c
board/ti/j721e/evm.c
board/ti/omap5_uevm/evm.c
board/ti/panda/panda.c
board/ti/sdp4430/sdp.c
board/ti/ti814x/evm.c
board/ti/ti816x/evm.c
board/toradex/apalis_imx6/apalis_imx6.c
board/toradex/colibri_imx6/colibri_imx6.c
board/toradex/colibri_imx7/colibri_imx7.c
board/toradex/colibri_pxa270/colibri_pxa270.c
board/toradex/common/tdx-cfg-block.c
board/tqc/tqma6/tqma6_mba6.c
board/tqc/tqma6/tqma6_wru4.c
board/udoo/neo/neo.c
board/udoo/udoo.c
board/variscite/dart_6ul/dart_6ul.c
board/varisys/cyrus/eth.c
board/vscom/baltos/board.c
board/warp7/warp7.c
board/xilinx/versal/board.c
board/xilinx/zynqmp/zynqmp.c
cmd/bdinfo.c
cmd/elf.c
cmd/ethsw.c
cmd/fat.c
cmd/load.c
cmd/mem.c
cmd/mvebu/bubt.c
cmd/nand.c
cmd/nvedit.c
cmd/pxe_utils.c
cmd/sf.c
cmd/tlv_eeprom.c
cmd/ximg.c
common/board_f.c
common/board_r.c
common/bootm.c
common/bouncebuf.c
common/fdt_support.c
common/hash.c
common/image.c
common/lcd.c
common/log_syslog.c
common/main.c
common/spl/spl_atf.c
common/spl/spl_fit.c
common/usb_storage.c
disk/part_efi.c
disk/part_iso.c
drivers/ata/dwc_ahsata.c
drivers/ata/sata_mv.c
drivers/bootcount/bootcount.c
drivers/bootcount/bootcount_ram.c
drivers/clk/clk_versal.c
drivers/core/device.c
drivers/cpu/imx8_cpu.c
drivers/crypto/ace_sha.c
drivers/crypto/fsl/fsl_blob.c
drivers/crypto/fsl/fsl_hash.c
drivers/crypto/fsl/jobdesc.c
drivers/crypto/fsl/jr.c
drivers/ddr/altera/sdram_arria10.c
drivers/ddr/altera/sdram_soc64.c
drivers/dma/apbh_dma.c
drivers/dma/bcm6348-iudma.c
drivers/dma/dma-uclass.c
drivers/dma/ti-edma3.c
drivers/dma/ti/k3-udma.c
drivers/firmware/firmware-zynqmp.c
drivers/fpga/versalpl.c
drivers/fpga/zynqmppl.c
drivers/fpga/zynqpl.c
drivers/mmc/dw_mmc.c
drivers/mmc/fsl_esdhc.c
drivers/mmc/fsl_esdhc_imx.c
drivers/mmc/omap_hsmmc.c
drivers/mmc/sdhci.c
drivers/mmc/stm32_sdmmc2.c
drivers/mtd/nand/raw/denali.c
drivers/mtd/nand/raw/mxs_nand.c
drivers/mtd/nand/raw/mxs_nand_spl.c
drivers/mtd/nand/raw/nand_util.c
drivers/net/ag7xxx.c
drivers/net/bcm-sf2-eth-gmac.c
drivers/net/bcmgenet.c
drivers/net/calxedaxgmac.c
drivers/net/designware.c
drivers/net/designware.h
drivers/net/dwc_eth_qos.c
drivers/net/e1000.c
drivers/net/ep93xx_eth.c
drivers/net/fec_mxc.c
drivers/net/fm/init.c
drivers/net/fsl_enetc.c
drivers/net/ftgmac100.c
drivers/net/ftmac110.c
drivers/net/gmac_rockchip.c
drivers/net/higmacv300.c
drivers/net/mt7628-eth.c
drivers/net/mtk_eth.c
drivers/net/mvneta.c
drivers/net/mvpp2.c
drivers/net/pcnet.c
drivers/net/phy/aquantia.c
drivers/net/ravb.c
drivers/net/rtl8169.c
drivers/net/sh_eth.c
drivers/net/smc91111.h
drivers/net/smc911x.h
drivers/net/sni_ave.c
drivers/net/sun8i_emac.c
drivers/net/ti/am65-cpsw-nuss.c
drivers/net/ti/davinci_emac.c
drivers/net/zynq_gem.c
drivers/ram/stm32mp1/stm32mp1_tests.c
drivers/ram/stm32mp1/stm32mp1_tuning.c
drivers/remoteproc/rproc-elf-loader.c
drivers/rng/sandbox_rng.c
drivers/soc/ti/k3-navss-ringacc.c
drivers/spi/mxs_spi.c
drivers/spi/ti_qspi.c
drivers/spi/zynqmp_gqspi.c
drivers/usb/cdns3/ep0.c
drivers/usb/eth/asix.c
drivers/usb/eth/lan78xx.c
drivers/usb/eth/lan7x.c
drivers/usb/eth/mcs7830.c
drivers/usb/eth/r8152.c
drivers/usb/eth/smsc95xx.c
drivers/usb/eth/usb_ether.c
drivers/usb/gadget/ci_udc.c
drivers/usb/host/dwc2.c
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ohci-hcd.c
drivers/video/bcm2835.c
drivers/video/fsl_dcu_fb.c
drivers/video/imx/mxc_ipuv3_fb.c
drivers/video/mvebu_lcd.c
drivers/video/mxsfb.c
drivers/video/tegra.c
drivers/video/video-uclass.c
env/fat.c
env/sf.c
examples/standalone/smc911x_eeprom.c
fs/ext4/ext4_common.h
fs/fat/fat.c
fs/fat/fat_write.c
include/common.h
include/dwmmc.h
include/log.h
include/net.h
include/scsi.h
lib/efi_loader/efi_device_path.c
lib/efi_loader/efi_memory.c
lib/efi_loader/efi_net.c
lib/efi_selftest/efi_selftest_block_device.c
lib/efi_selftest/efi_selftest_console.c
lib/efi_selftest/efi_selftest_snp.c
lib/fdtdec.c
lib/image-sparse.c
lib/linux_compat.c
lib/net_utils.c
lib/uuid.c
net/arp.c
net/bootp.c
net/ping.c
test/lib/test_aes.c