aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 09:46:52 -0600
committerTom Rini <trini@konsulko.com>2019-08-11 16:43:41 -0400
commit7b51b576d6db714e8668a98de67e93651e18123c (patch)
tree568a39b82f10fabc191cfe6da0fa6e17c251bd08 /net
parent9fb625ce05539fe6876a59ce1dcadb76b33c6f6e (diff)
downloadu-boot-7b51b576d6db714e8668a98de67e93651e18123c.zip
u-boot-7b51b576d6db714e8668a98de67e93651e18123c.tar.gz
u-boot-7b51b576d6db714e8668a98de67e93651e18123c.tar.bz2
env: Move env_get() to env.h
Move env_get() over to the new header file. Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net')
-rw-r--r--net/link_local.c1
-rw-r--r--net/tftp.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/net/link_local.c b/net/link_local.c
index 31cdef4..dd9fcad 100644
--- a/net/link_local.c
+++ b/net/link_local.c
@@ -12,6 +12,7 @@
*/
#include <common.h>
+#include <env.h>
#include <net.h>
#include "arp.h"
#include "net_rand.h"
diff --git a/net/tftp.c b/net/tftp.c
index 34488b7..5a69bca 100644
--- a/net/tftp.c
+++ b/net/tftp.c
@@ -9,6 +9,7 @@
#include <common.h>
#include <command.h>
#include <efi_loader.h>
+#include <env.h>
#include <mapmem.h>
#include <net.h>
#include <net/tftp.h>