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 /board/atmel | |
parent | c3dc39a2f85b16bf590789f7e283cd72275cd168 (diff) | |
download | u-boot-90526e9fbac47af16d70f323feae45d8d1b0f9b7.tar.gz u-boot-90526e9fbac47af16d70f323feae45d8d1b0f9b7.tar.xz u-boot-90526e9fbac47af16d70f323feae45d8d1b0f9b7.zip |
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 'board/atmel')
-rw-r--r-- | board/atmel/at91rm9200ek/at91rm9200ek.c | 1 | ||||
-rw-r--r-- | board/atmel/at91sam9n12ek/at91sam9n12ek.c | 1 | ||||
-rw-r--r-- | board/atmel/common/mac-spi-nor.c | 1 | ||||
-rw-r--r-- | board/atmel/common/mac_eeprom.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/board/atmel/at91rm9200ek/at91rm9200ek.c b/board/atmel/at91rm9200ek/at91rm9200ek.c index e75d5b182f..e4a6776f96 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 90d32353e9..f16c137565 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 96343678e0..ced27b65e6 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 050aa51ee1..2205dd30f8 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) |