aboutsummaryrefslogtreecommitdiff
path: root/board/cavium
diff options
context:
space:
mode:
authorSimon Glass2020-05-10 11:39:56 -0600
committerTom Rini2020-05-18 17:33:31 -0400
commit90526e9fbac47af16d70f323feae45d8d1b0f9b7 (patch)
tree2a89900cbb7a569491f0d9cab5835c7296ef2c25 /board/cavium
parentc3dc39a2f85b16bf590789f7e283cd72275cd168 (diff)
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/cavium')
-rw-r--r--board/cavium/thunderx/atf.c1
-rw-r--r--board/cavium/thunderx/thunderx.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/board/cavium/thunderx/atf.c b/board/cavium/thunderx/atf.c
index 2e7ba69d764..ea2f2bade00 100644
--- a/board/cavium/thunderx/atf.c
+++ b/board/cavium/thunderx/atf.c
@@ -4,6 +4,7 @@
**/
#include <common.h>
+#include <asm/cache.h>
#include <asm/io.h>
#include <asm/system.h>
diff --git a/board/cavium/thunderx/thunderx.c b/board/cavium/thunderx/thunderx.c
index 687ade544ac..1b1b9d513c3 100644
--- a/board/cavium/thunderx/thunderx.c
+++ b/board/cavium/thunderx/thunderx.c
@@ -9,6 +9,7 @@
#include <init.h>
#include <malloc.h>
#include <errno.h>
+#include <net.h>
#include <linux/compiler.h>
#include <cavium/atf.h>