diff options
author | Simon Glass | 2020-05-10 11:40:05 -0600 |
---|---|---|
committer | Tom Rini | 2020-05-18 21:19:18 -0400 |
commit | f7ae49fc4f363a803dab3be078e93ead8e75a8e9 (patch) | |
tree | a40dc0c2d47875a8b069c8704808e2dc8f9db5fa /drivers/net | |
parent | 3c7dded8e179ee213c8267c892720b84a7a59fd5 (diff) |
common: Drop log.h from common header
Move this header out of the common header.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/net')
77 files changed, 81 insertions, 1 deletions
diff --git a/drivers/net/ag7xxx.c b/drivers/net/ag7xxx.c index 11c9124e310..38f3cbac734 100644 --- a/drivers/net/ag7xxx.c +++ b/drivers/net/ag7xxx.c @@ -11,6 +11,7 @@ #include <cpu_func.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <miiphy.h> #include <malloc.h> #include <net.h> diff --git a/drivers/net/altera_tse.c b/drivers/net/altera_tse.c index a511068d9ae..93b26da3926 100644 --- a/drivers/net/altera_tse.c +++ b/drivers/net/altera_tse.c @@ -13,6 +13,7 @@ #include <dm.h> #include <errno.h> #include <fdt_support.h> +#include <log.h> #include <memalign.h> #include <miiphy.h> #include <net.h> diff --git a/drivers/net/armada100_fec.c b/drivers/net/armada100_fec.c index da6662c7ee8..828f978f730 100644 --- a/drivers/net/armada100_fec.c +++ b/drivers/net/armada100_fec.c @@ -10,6 +10,7 @@ */ #include <common.h> +#include <log.h> #include <net.h> #include <malloc.h> #include <miiphy.h> diff --git a/drivers/net/at91_emac.c b/drivers/net/at91_emac.c index 32334785717..fc227edea73 100644 --- a/drivers/net/at91_emac.c +++ b/drivers/net/at91_emac.c @@ -8,6 +8,7 @@ */ #include <common.h> +#include <log.h> #include <asm/io.h> #include <asm/arch/hardware.h> #include <asm/arch/at91_emac.h> diff --git a/drivers/net/ax88180.c b/drivers/net/ax88180.c index 261fde00c15..d13eb11187c 100644 --- a/drivers/net/ax88180.c +++ b/drivers/net/ax88180.c @@ -39,6 +39,7 @@ */ #include <common.h> #include <command.h> +#include <log.h> #include <net.h> #include <malloc.h> #include <linux/mii.h> diff --git a/drivers/net/bcm-sf2-eth-gmac.c b/drivers/net/bcm-sf2-eth-gmac.c index 3794e40b01b..eaadb2662a8 100644 --- a/drivers/net/bcm-sf2-eth-gmac.c +++ b/drivers/net/bcm-sf2-eth-gmac.c @@ -12,6 +12,7 @@ #include <config.h> #include <common.h> #include <cpu_func.h> +#include <log.h> #include <malloc.h> #include <net.h> #include <asm/cache.h> diff --git a/drivers/net/bcm-sf2-eth.c b/drivers/net/bcm-sf2-eth.c index 11f937032f3..c8393c5f501 100644 --- a/drivers/net/bcm-sf2-eth.c +++ b/drivers/net/bcm-sf2-eth.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <log.h> #include <malloc.h> #include <net.h> #include <config.h> diff --git a/drivers/net/bcm6348-eth.c b/drivers/net/bcm6348-eth.c index fe3532930aa..9ddc0f938f2 100644 --- a/drivers/net/bcm6348-eth.c +++ b/drivers/net/bcm6348-eth.c @@ -10,6 +10,7 @@ #include <clk.h> #include <dm.h> #include <dma.h> +#include <log.h> #include <malloc.h> #include <miiphy.h> #include <net.h> diff --git a/drivers/net/bcm6368-eth.c b/drivers/net/bcm6368-eth.c index 1200049007e..db573c08317 100644 --- a/drivers/net/bcm6368-eth.c +++ b/drivers/net/bcm6368-eth.c @@ -10,6 +10,7 @@ #include <clk.h> #include <dm.h> #include <dma.h> +#include <log.h> #include <malloc.h> #include <miiphy.h> #include <net.h> diff --git a/drivers/net/bcmgenet.c b/drivers/net/bcmgenet.c index b7b0f574ebc..1ef8e8e8b85 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 <log.h> #include <asm/cache.h> #include <asm/io.h> #include <clk.h> diff --git a/drivers/net/cs8900.c b/drivers/net/cs8900.c index 9331cdf9387..f840e114216 100644 --- a/drivers/net/cs8900.c +++ b/drivers/net/cs8900.c @@ -25,6 +25,7 @@ #include <common.h> #include <command.h> +#include <log.h> #include <asm/io.h> #include <net.h> #include <malloc.h> diff --git a/drivers/net/designware.c b/drivers/net/designware.c index 34e0da1a1b7..1eda9c38009 100644 --- a/drivers/net/designware.c +++ b/drivers/net/designware.c @@ -13,6 +13,7 @@ #include <cpu_func.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <miiphy.h> #include <malloc.h> #include <net.h> diff --git a/drivers/net/dnet.c b/drivers/net/dnet.c index 933d1fc2f11..35c2ed9fe06 100644 --- a/drivers/net/dnet.c +++ b/drivers/net/dnet.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <log.h> #ifndef CONFIG_DNET_AUTONEG_TIMEOUT #define CONFIG_DNET_AUTONEG_TIMEOUT 5000000 /* default value */ diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c index 6db0b5ceb0d..1cf1ff59eb0 100644 --- a/drivers/net/dwc_eth_qos.c +++ b/drivers/net/dwc_eth_qos.c @@ -31,6 +31,7 @@ #include <cpu_func.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <memalign.h> #include <miiphy.h> diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index 82b1db3fb32..6c1358568ae 100644 --- a/drivers/net/e1000.c +++ b/drivers/net/e1000.c @@ -34,6 +34,7 @@ tested on both gig copper and gig fiber boards #include <cpu_func.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <memalign.h> #include <net.h> diff --git a/drivers/net/ep93xx_eth.c b/drivers/net/ep93xx_eth.c index 8ec7b36f9ac..5aed164247f 100644 --- a/drivers/net/ep93xx_eth.c +++ b/drivers/net/ep93xx_eth.c @@ -18,6 +18,7 @@ #include <command.h> #include <common.h> +#include <log.h> #include <net.h> #include <asm/arch/ep93xx.h> #include <asm/io.h> diff --git a/drivers/net/ethoc.c b/drivers/net/ethoc.c index be5d9add615..81d0f3d7f89 100644 --- a/drivers/net/ethoc.c +++ b/drivers/net/ethoc.c @@ -12,6 +12,7 @@ #include <common.h> #include <cpu_func.h> #include <dm.h> +#include <log.h> #include <dm/platform_data/net_ethoc.h> #include <linux/io.h> #include <malloc.h> diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index a3fdd351808..4c6eb640d49 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -11,6 +11,7 @@ #include <cpu_func.h> #include <dm.h> #include <env.h> +#include <log.h> #include <malloc.h> #include <memalign.h> #include <miiphy.h> diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index 1d0c9988b1e..f3ce2ac40c4 100644 --- a/drivers/net/fm/eth.c +++ b/drivers/net/fm/eth.c @@ -5,6 +5,7 @@ * Dave Liu <daveliu@freescale.com> */ #include <common.h> +#include <log.h> #include <part.h> #include <asm/io.h> #ifdef CONFIG_DM_ETH diff --git a/drivers/net/fm/memac.c b/drivers/net/fm/memac.c index 77ea0837826..0f0f7b0732d 100644 --- a/drivers/net/fm/memac.c +++ b/drivers/net/fm/memac.c @@ -8,6 +8,7 @@ #define MAXFRM_MASK 0x0000ffff #include <common.h> +#include <log.h> #include <phy.h> #include <asm/types.h> #include <asm/io.h> diff --git a/drivers/net/fsl-mc/dpio/qbman_portal.c b/drivers/net/fsl-mc/dpio/qbman_portal.c index e161b4e077a..1f77f84990b 100644 --- a/drivers/net/fsl-mc/dpio/qbman_portal.c +++ b/drivers/net/fsl-mc/dpio/qbman_portal.c @@ -3,6 +3,7 @@ * Copyright (C) 2014 Freescale Semiconductor */ +#include <log.h> #include <malloc.h> #include <asm/arch/clock.h> #include "qbman_portal.h" diff --git a/drivers/net/fsl-mc/mc.c b/drivers/net/fsl-mc/mc.c index 39824094f98..3b44abcd948 100644 --- a/drivers/net/fsl-mc/mc.c +++ b/drivers/net/fsl-mc/mc.c @@ -9,6 +9,7 @@ #include <env.h> #include <errno.h> #include <image.h> +#include <log.h> #include <malloc.h> #include <linux/bug.h> #include <asm/io.h> diff --git a/drivers/net/ftgmac100.c b/drivers/net/ftgmac100.c index 35257366747..3322dcf2aab 100644 --- a/drivers/net/ftgmac100.c +++ b/drivers/net/ftgmac100.c @@ -11,9 +11,11 @@ * Copyright (C) 2018, IBM Corporation. */ +#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <miiphy.h> #include <net.h> diff --git a/drivers/net/ftmac110.c b/drivers/net/ftmac110.c index 10d5fc34cc0..835346cb07d 100644 --- a/drivers/net/ftmac110.c +++ b/drivers/net/ftmac110.c @@ -8,6 +8,7 @@ #include <common.h> #include <command.h> +#include <log.h> #include <malloc.h> #include <net.h> #include <asm/cache.h> diff --git a/drivers/net/gmac_rockchip.c b/drivers/net/gmac_rockchip.c index 85f8d3b419a..52a637bd548 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 <log.h> #include <net.h> #include <phy.h> #include <syscon.h> diff --git a/drivers/net/higmacv300.c b/drivers/net/higmacv300.c index d338643e60d..ea9f9470c80 100644 --- a/drivers/net/higmacv300.c +++ b/drivers/net/higmacv300.c @@ -4,6 +4,7 @@ */ #include <cpu_func.h> +#include <log.h> #include <malloc.h> #include <asm/cache.h> #include <asm/io.h> diff --git a/drivers/net/ks8851_mll.c b/drivers/net/ks8851_mll.c index 718a7dd0193..8fcb63d1a60 100644 --- a/drivers/net/ks8851_mll.c +++ b/drivers/net/ks8851_mll.c @@ -4,6 +4,7 @@ * Copyright (c) 2011 Roberto Cerati <roberto.cerati@bticino.it> */ +#include <log.h> #include <asm/io.h> #include <common.h> #include <command.h> diff --git a/drivers/net/ldpaa_eth/ldpaa_eth.c b/drivers/net/ldpaa_eth/ldpaa_eth.c index 48343dce1c4..8327fd747b2 100644 --- a/drivers/net/ldpaa_eth/ldpaa_eth.c +++ b/drivers/net/ldpaa_eth/ldpaa_eth.c @@ -6,6 +6,7 @@ #include <common.h> #include <cpu_func.h> +#include <log.h> #include <asm/io.h> #include <asm/types.h> #include <malloc.h> diff --git a/drivers/net/lpc32xx_eth.c b/drivers/net/lpc32xx_eth.c index ec5184edf88..604f676bfff 100644 --- a/drivers/net/lpc32xx_eth.c +++ b/drivers/net/lpc32xx_eth.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <log.h> #include <net.h> #include <malloc.h> #include <miiphy.h> diff --git a/drivers/net/macb.c b/drivers/net/macb.c index bd588cab06b..ddd1c060599 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -6,6 +6,7 @@ #include <clk.h> #include <cpu_func.h> #include <dm.h> +#include <log.h> /* * The u-boot networking stack is a little weird. It seems like the diff --git a/drivers/net/mdio_mux_i2creg.c b/drivers/net/mdio_mux_i2creg.c index 3e82898f46e..cc02b5ffd45 100644 --- a/drivers/net/mdio_mux_i2creg.c +++ b/drivers/net/mdio_mux_i2creg.c @@ -6,6 +6,7 @@ #include <dm.h> #include <errno.h> +#include <log.h> #include <miiphy.h> #include <i2c.h> diff --git a/drivers/net/mscc_eswitch/mscc_xfer.c b/drivers/net/mscc_eswitch/mscc_xfer.c index f412901f1d4..447b53782dd 100644 --- a/drivers/net/mscc_eswitch/mscc_xfer.c +++ b/drivers/net/mscc_eswitch/mscc_xfer.c @@ -3,6 +3,7 @@ * Copyright (c) 2018 Microsemi Corporation */ +#include <log.h> #include <linux/io.h> #include "mscc_xfer.h" diff --git a/drivers/net/mscc_eswitch/ocelot_switch.c b/drivers/net/mscc_eswitch/ocelot_switch.c index fe48f371c31..cae31e2f6e7 100644 --- a/drivers/net/mscc_eswitch/ocelot_switch.c +++ b/drivers/net/mscc_eswitch/ocelot_switch.c @@ -6,6 +6,7 @@ #include <common.h> #include <config.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <dm/of_access.h> #include <dm/of_addr.h> diff --git a/drivers/net/mscc_eswitch/serval_switch.c b/drivers/net/mscc_eswitch/serval_switch.c index f05fa42ff3f..cf8bf9c8b06 100644 --- a/drivers/net/mscc_eswitch/serval_switch.c +++ b/drivers/net/mscc_eswitch/serval_switch.c @@ -6,6 +6,7 @@ #include <common.h> #include <config.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <dm/of_access.h> #include <dm/of_addr.h> diff --git a/drivers/net/mt7628-eth.c b/drivers/net/mt7628-eth.c index 217c684702f..8110af2d825 100644 --- a/drivers/net/mt7628-eth.c +++ b/drivers/net/mt7628-eth.c @@ -16,6 +16,7 @@ #include <common.h> #include <cpu_func.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <miiphy.h> #include <net.h> diff --git a/drivers/net/mtk_eth.c b/drivers/net/mtk_eth.c index 59c759928e5..c0cabd9b365 100644 --- a/drivers/net/mtk_eth.c +++ b/drivers/net/mtk_eth.c @@ -9,6 +9,7 @@ #include <common.h> #include <cpu_func.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <miiphy.h> #include <net.h> diff --git a/drivers/net/mvgbe.c b/drivers/net/mvgbe.c index 6d56360a202..b661cd38f99 100644 --- a/drivers/net/mvgbe.c +++ b/drivers/net/mvgbe.c @@ -13,6 +13,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <net.h> #include <malloc.h> #include <miiphy.h> diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c index 75831dfe147..5c8c5e68007 100644 --- a/drivers/net/mvneta.c +++ b/drivers/net/mvneta.c @@ -15,6 +15,7 @@ #include <common.h> #include <cpu_func.h> #include <dm.h> +#include <log.h> #include <net.h> #include <netdev.h> #include <config.h> diff --git a/drivers/net/ne2000_base.c b/drivers/net/ne2000_base.c index a240d06ad45..55145da2bb6 100644 --- a/drivers/net/ne2000_base.c +++ b/drivers/net/ne2000_base.c @@ -75,6 +75,7 @@ Add SNMP #include <common.h> #include <command.h> #include <env.h> +#include <log.h> #include <net.h> #include <malloc.h> #include <linux/compiler.h> diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c index 73005ff94d9..f1d0630d020 100644 --- a/drivers/net/netconsole.c +++ b/drivers/net/netconsole.c @@ -7,6 +7,7 @@ #include <common.h> #include <command.h> #include <env.h> +#include <log.h> #include <stdio_dev.h> #include <net.h> diff --git a/drivers/net/ns8382x.c b/drivers/net/ns8382x.c index ea7ece54b6b..9ef3baed1df 100644 --- a/drivers/net/ns8382x.c +++ b/drivers/net/ns8382x.c @@ -51,6 +51,7 @@ /* Includes */ #include <common.h> +#include <log.h> #include <malloc.h> #include <net.h> #include <netdev.h> diff --git a/drivers/net/pch_gbe.c b/drivers/net/pch_gbe.c index b2823701a41..a592ec07da4 100644 --- a/drivers/net/pch_gbe.c +++ b/drivers/net/pch_gbe.c @@ -9,6 +9,7 @@ #include <cpu_func.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <asm/io.h> #include <pci.h> diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c index b536ad466dc..39cce052936 100644 --- a/drivers/net/pcnet.c +++ b/drivers/net/pcnet.c @@ -8,6 +8,7 @@ #include <common.h> #include <cpu_func.h> +#include <log.h> #include <malloc.h> #include <net.h> #include <netdev.h> diff --git a/drivers/net/pfe_eth/pfe_cmd.c b/drivers/net/pfe_eth/pfe_cmd.c index bae5f8a4791..66c8cca4d2b 100644 --- a/drivers/net/pfe_eth/pfe_cmd.c +++ b/drivers/net/pfe_eth/pfe_cmd.c @@ -9,7 +9,9 @@ * @brief PFE utility commands */ +#include <common.h> #include <command.h> +#include <log.h> #include <net/pfe_eth/pfe_eth.h> static inline void pfe_command_help(void) diff --git a/drivers/net/pfe_eth/pfe_driver.c b/drivers/net/pfe_eth/pfe_driver.c index f70a2352177..e5edfbeaa66 100644 --- a/drivers/net/pfe_eth/pfe_driver.c +++ b/drivers/net/pfe_eth/pfe_driver.c @@ -4,6 +4,7 @@ * Copyright 2017 NXP */ +#include <log.h> #include <malloc.h> #include <net/pfe_eth/pfe_eth.h> #include <net/pfe_eth/pfe_firmware.h> diff --git a/drivers/net/pfe_eth/pfe_eth.c b/drivers/net/pfe_eth/pfe_eth.c index 1b5d11ef323..4aa5ac4be62 100644 --- a/drivers/net/pfe_eth/pfe_eth.c +++ b/drivers/net/pfe_eth/pfe_eth.c @@ -6,6 +6,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <dm/platform_data/pfe_dm_eth.h> #include <net.h> diff --git a/drivers/net/pfe_eth/pfe_firmware.c b/drivers/net/pfe_eth/pfe_firmware.c index dbb69a0c595..0ad8c63d710 100644 --- a/drivers/net/pfe_eth/pfe_firmware.c +++ b/drivers/net/pfe_eth/pfe_firmware.c @@ -11,6 +11,7 @@ */ #include <image.h> +#include <log.h> #include <malloc.h> #include <net/pfe_eth/pfe_eth.h> #include <net/pfe_eth/pfe_firmware.h> diff --git a/drivers/net/pfe_eth/pfe_hw.c b/drivers/net/pfe_eth/pfe_hw.c index 7137ac154a6..caba8717be1 100644 --- a/drivers/net/pfe_eth/pfe_hw.c +++ b/drivers/net/pfe_eth/pfe_hw.c @@ -3,6 +3,7 @@ * Copyright 2015-2016 Freescale Semiconductor, Inc. * Copyright 2017 NXP */ +#include <log.h> #include <net/pfe_eth/pfe_eth.h> #include <net/pfe_eth/pfe/pfe_hw.h> diff --git a/drivers/net/pfe_eth/pfe_mdio.c b/drivers/net/pfe_eth/pfe_mdio.c index b990e7fbe22..2f88f5d8bcf 100644 --- a/drivers/net/pfe_eth/pfe_mdio.c +++ b/drivers/net/pfe_eth/pfe_mdio.c @@ -5,6 +5,7 @@ */ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <dm/platform_data/pfe_dm_eth.h> #include <net.h> diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c index e30a7fd5d6b..75396dec958 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 <log.h> #include <net.h> #include <phy.h> #include <u-boot/crc.h> diff --git a/drivers/net/phy/cortina.c b/drivers/net/phy/cortina.c index ec81dab3f6c..ecaa2b9f92e 100644 --- a/drivers/net/phy/cortina.c +++ b/drivers/net/phy/cortina.c @@ -9,6 +9,7 @@ #include <config.h> #include <common.h> +#include <log.h> #include <malloc.h> #include <linux/ctype.h> #include <linux/string.h> diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c index 50804c130ef..6fac0d59563 100644 --- a/drivers/net/phy/dp83867.c +++ b/drivers/net/phy/dp83867.c @@ -4,6 +4,7 @@ * */ #include <common.h> +#include <log.h> #include <phy.h> #include <dm/devres.h> #include <linux/compat.h> diff --git a/drivers/net/phy/mscc.c b/drivers/net/phy/mscc.c index 72bbda54695..9fd5ca7c9fc 100644 --- a/drivers/net/phy/mscc.c +++ b/drivers/net/phy/mscc.c @@ -9,6 +9,7 @@ * */ +#include <log.h> #include <miiphy.h> #include <bitfield.h> #include <time.h> diff --git a/drivers/net/phy/mv88e61xx.c b/drivers/net/phy/mv88e61xx.c index 5aff7ed397d..cbc36509717 100644 --- a/drivers/net/phy/mv88e61xx.c +++ b/drivers/net/phy/mv88e61xx.c @@ -30,6 +30,7 @@ */ #include <common.h> +#include <log.h> #include <bitfield.h> #include <errno.h> diff --git a/drivers/net/phy/mv88e6352.c b/drivers/net/phy/mv88e6352.c index a27a9cc03ed..e2261d6a11d 100644 --- a/drivers/net/phy/mv88e6352.c +++ b/drivers/net/phy/mv88e6352.c @@ -6,6 +6,7 @@ #include <common.h> #include <command.h> +#include <log.h> #include <miiphy.h> #include <linux/errno.h> #include <mv88e6352.h> diff --git a/drivers/net/phy/ncsi.c b/drivers/net/phy/ncsi.c index adc3ac033e0..bf1e832be9f 100644 --- a/drivers/net/phy/ncsi.c +++ b/drivers/net/phy/ncsi.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <log.h> #include <malloc.h> #include <phy.h> #include <net/ncsi.h> diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 505d3ab6590..6c4381ec6ce 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -10,6 +10,7 @@ #include <common.h> #include <console.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <net.h> #include <command.h> diff --git a/drivers/net/phy/xilinx_gmii2rgmii.c b/drivers/net/phy/xilinx_gmii2rgmii.c index 8c20da26820..e2feb17048c 100644 --- a/drivers/net/phy/xilinx_gmii2rgmii.c +++ b/drivers/net/phy/xilinx_gmii2rgmii.c @@ -6,6 +6,7 @@ */ #include <dm.h> +#include <log.h> #include <phy.h> #include <config.h> #include <common.h> diff --git a/drivers/net/phy/xilinx_phy.c b/drivers/net/phy/xilinx_phy.c index 3aa8891efe4..39dbfdb7da8 100644 --- a/drivers/net/phy/xilinx_phy.c +++ b/drivers/net/phy/xilinx_phy.c @@ -7,6 +7,7 @@ #include <config.h> #include <common.h> +#include <log.h> #include <phy.h> #include <dm.h> diff --git a/drivers/net/pic32_eth.c b/drivers/net/pic32_eth.c index e966be038a6..d367a1fe37e 100644 --- a/drivers/net/pic32_eth.c +++ b/drivers/net/pic32_eth.c @@ -7,6 +7,7 @@ #include <cpu_func.h> #include <errno.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <net.h> #include <miiphy.h> diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c index 9139b5b1a10..fae72a1127c 100644 --- a/drivers/net/ravb.c +++ b/drivers/net/ravb.c @@ -13,6 +13,7 @@ #include <cpu_func.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <miiphy.h> #include <malloc.h> #include <asm/cache.h> diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c index 1f083972917..e87ee26f7f9 100644 --- a/drivers/net/rtl8139.c +++ b/drivers/net/rtl8139.c @@ -70,12 +70,13 @@ #include <common.h> #include <cpu_func.h> -#include <linux/types.h> +#include <log.h> #include <malloc.h> #include <net.h> #include <netdev.h> #include <asm/io.h> #include <pci.h> +#include <linux/types.h> #define RTL_TIMEOUT 100000 diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c index 27dc233323c..c3413431ec4 100644 --- a/drivers/net/rtl8169.c +++ b/drivers/net/rtl8169.c @@ -43,6 +43,7 @@ #include <cpu_func.h> #include <dm.h> #include <errno.h> +#include <log.h> #include <malloc.h> #include <memalign.h> #include <net.h> diff --git a/drivers/net/sandbox-raw.c b/drivers/net/sandbox-raw.c index 3707ee35eb5..4bd94c31031 100644 --- a/drivers/net/sandbox-raw.c +++ b/drivers/net/sandbox-raw.c @@ -6,6 +6,7 @@ * Joe Hershberger <joe.hershberger@ni.com> */ +#include <log.h> #include <asm/eth-raw-os.h> #include <common.h> #include <dm.h> diff --git a/drivers/net/sandbox.c b/drivers/net/sandbox.c index c1363923509..4f7e3d42438 100644 --- a/drivers/net/sandbox.c +++ b/drivers/net/sandbox.c @@ -8,6 +8,7 @@ #include <common.h> #include <dm.h> +#include <log.h> #include <malloc.h> #include <net.h> #include <asm/eth.h> diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index d75bf546704..1ad3d0526df 100644 --- a/drivers/net/sh_eth.c +++ b/drivers/net/sh_eth.c @@ -12,6 +12,7 @@ #include <common.h> #include <cpu_func.h> #include <env.h> +#include <log.h> #include <malloc.h> #include <net.h> #include <netdev.h> diff --git a/drivers/net/sni_ave.c b/drivers/net/sni_ave.c index 0f665087c60..8f651fa4dc9 100644 --- a/drivers/net/sni_ave.c +++ b/drivers/net/sni_ave.c @@ -8,6 +8,7 @@ #include <cpu_func.h> #include <dm.h> #include <fdt_support.h> +#include <log.h> #include <malloc.h> #include <miiphy.h> #include <net.h> diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c index 09ea586e071..c24ab83c1a2 100644 --- a/drivers/net/sun8i_emac.c +++ b/drivers/net/sun8i_emac.c @@ -11,6 +11,7 @@ */ #include <cpu_func.h> +#include <log.h> #include <asm/cache.h> #include <asm/io.h> #include <asm/arch/clock.h> diff --git a/drivers/net/sunxi_emac.c b/drivers/net/sunxi_emac.c index a9874e4220d..26c75067bf2 100644 --- a/drivers/net/sunxi_emac.c +++ b/drivers/net/sunxi_emac.c @@ -8,6 +8,7 @@ #include <common.h> #include <clk.h> #include <dm.h> +#include <log.h> #include <dm/device_compat.h> #include <linux/err.h> #include <malloc.h> diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti/cpsw.c index 04b01a81298..a927ea03e04 100644 --- a/drivers/net/ti/cpsw.c +++ b/drivers/net/ti/cpsw.c @@ -8,6 +8,7 @@ #include <common.h> #include <command.h> #include <cpu_func.h> +#include <log.h> #include <net.h> #include <miiphy.h> #include <malloc.h> diff --git a/drivers/net/ti/cpsw_mdio.c b/drivers/net/ti/cpsw_mdio.c index 1fa520be0f2..fb93548dee0 100644 --- a/drivers/net/ti/cpsw_mdio.c +++ b/drivers/net/ti/cpsw_mdio.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <log.h> #include <malloc.h> #include <asm/io.h> #include <miiphy.h> diff --git a/drivers/net/ti/davinci_emac.c b/drivers/net/ti/davinci_emac.c index b5dfa8bd914..804797476c6 100644 --- a/drivers/net/ti/davinci_emac.c +++ b/drivers/net/ti/davinci_emac.c @@ -24,6 +24,7 @@ #include <common.h> #include <command.h> #include <cpu_func.h> +#include <log.h> #include <net.h> #include <miiphy.h> #include <malloc.h> diff --git a/drivers/net/vsc7385.c b/drivers/net/vsc7385.c index 072421062b6..d020aa915ef 100644 --- a/drivers/net/vsc7385.c +++ b/drivers/net/vsc7385.c @@ -15,6 +15,7 @@ #include <config.h> #include <common.h> #include <console.h> +#include <log.h> #include <asm/io.h> #include <linux/errno.h> #include "vsc7385.h" diff --git a/drivers/net/vsc9953.c b/drivers/net/vsc9953.c index 93eb2b158cc..8bad3519517 100644 --- a/drivers/net/vsc9953.c +++ b/drivers/net/vsc9953.c @@ -5,7 +5,9 @@ * Driver for the Vitesse VSC9953 L2 Switch */ +#include <common.h> #include <command.h> +#include <log.h> #include <asm/io.h> #include <asm/fsl_serdes.h> #include <fm_eth.h> diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index b0450fff566..09151986f15 100644 --- a/drivers/net/xilinx_axi_emac.c +++ b/drivers/net/xilinx_axi_emac.c @@ -9,6 +9,7 @@ #include <common.h> #include <cpu_func.h> #include <dm.h> +#include <log.h> #include <net.h> #include <malloc.h> #include <asm/io.h> diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c index 4b49290f0e4..b15e5514e63 100644 --- a/drivers/net/xilinx_emaclite.c +++ b/drivers/net/xilinx_emaclite.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <log.h> #include <net.h> #include <config.h> #include <dm.h> diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 1747f3667e5..28cef3b1eaf 100644 --- a/drivers/net/zynq_gem.c +++ b/drivers/net/zynq_gem.c @@ -12,6 +12,7 @@ #include <common.h> #include <cpu_func.h> #include <dm.h> +#include <log.h> #include <net.h> #include <netdev.h> #include <config.h> |