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 /arch/arm/mach-tegra | |
parent | c3dc39a2f85b16bf590789f7e283cd72275cd168 (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 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/board.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-tegra/cboot.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-tegra/tegra210/clock.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board.c b/arch/arm/mach-tegra/board.c index 31c49a7c84..267bfde09d 100644 --- a/arch/arm/mach-tegra/board.c +++ b/arch/arm/mach-tegra/board.c @@ -10,6 +10,7 @@ #include <init.h> #include <ns16550.h> #include <spl.h> +#include <asm/cache.h> #include <asm/io.h> #if IS_ENABLED(CONFIG_TEGRA_CLKRST) #include <asm/arch/clock.h> diff --git a/arch/arm/mach-tegra/cboot.c b/arch/arm/mach-tegra/cboot.c index 390229436e..4416827220 100644 --- a/arch/arm/mach-tegra/cboot.c +++ b/arch/arm/mach-tegra/cboot.c @@ -9,6 +9,7 @@ #include <fdtdec.h> #include <hang.h> #include <malloc.h> +#include <net.h> #include <stdlib.h> #include <string.h> diff --git a/arch/arm/mach-tegra/tegra210/clock.c b/arch/arm/mach-tegra/tegra210/clock.c index 00c65c281f..492f4d8c11 100644 --- a/arch/arm/mach-tegra/tegra210/clock.c +++ b/arch/arm/mach-tegra/tegra210/clock.c @@ -8,6 +8,7 @@ #include <common.h> #include <errno.h> +#include <asm/cache.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/sysctr.h> |