summaryrefslogtreecommitdiff
path: root/board/armltd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-05-10 20:39:56 +0300
committerTom Rini <trini@konsulko.com>2020-05-19 00:33:31 +0300
commit90526e9fbac47af16d70f323feae45d8d1b0f9b7 (patch)
tree2a89900cbb7a569491f0d9cab5835c7296ef2c25 /board/armltd
parentc3dc39a2f85b16bf590789f7e283cd72275cd168 (diff)
downloadu-boot-90526e9fbac47af16d70f323feae45d8d1b0f9b7.tar.xz
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/armltd')
-rw-r--r--board/armltd/integrator/integrator.c1
-rw-r--r--board/armltd/vexpress/vexpress_common.c1
-rw-r--r--board/armltd/vexpress64/vexpress64.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/board/armltd/integrator/integrator.c b/board/armltd/integrator/integrator.c
index 1a472f50d3..32e4933d20 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 14626c1f55..ebd3322c6f 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 5c7a8f55f0..912202d8eb 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>