summaryrefslogtreecommitdiff
path: root/board/gdsys
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/gdsys
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/gdsys')
-rw-r--r--board/gdsys/a38x/controlcenterdc.c1
-rw-r--r--board/gdsys/p1022/controlcenterd.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/board/gdsys/a38x/controlcenterdc.c b/board/gdsys/a38x/controlcenterdc.c
index 4eb7d76660..7aad683127 100644
--- a/board/gdsys/a38x/controlcenterdc.c
+++ b/board/gdsys/a38x/controlcenterdc.c
@@ -8,6 +8,7 @@
#include <dm.h>
#include <init.h>
#include <miiphy.h>
+#include <net.h>
#include <tpm-v1.h>
#include <asm/io.h>
#include <asm/arch/cpu.h>
diff --git a/board/gdsys/p1022/controlcenterd.c b/board/gdsys/p1022/controlcenterd.c
index 8e868165ed..14e3e25c18 100644
--- a/board/gdsys/p1022/controlcenterd.c
+++ b/board/gdsys/p1022/controlcenterd.c
@@ -25,6 +25,7 @@
#include <command.h>
#include <env.h>
#include <init.h>
+#include <net.h>
#include <pci.h>
#include <asm/processor.h>
#include <asm/mmu.h>