summaryrefslogtreecommitdiff
path: root/net/net.c
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@majess.pl>2015-08-24 00:21:43 +0200
committerMarek Vasut <marex@denx.de>2015-09-07 13:41:04 +0200
commit346969584be509b444dd1ba0db31ca7adb47575b (patch)
tree63ea95cdf84371c5d1e20a1ebcec81fe63f65338 /net/net.c
parent5a6087277c271773248e30c53ba494e328a7d476 (diff)
downloadu-boot-346969584be509b444dd1ba0db31ca7adb47575b.tar.gz
u-boot-346969584be509b444dd1ba0db31ca7adb47575b.tar.bz2
u-boot-346969584be509b444dd1ba0db31ca7adb47575b.zip
net: tftp: Move tftp.h file from ./net to ./include/net
This change gives the ability to reuse the <tftp.h> header file by other subsystems (like e.g. dfu). Without this change compilation error emerges for the legacy update.c file. Signed-off-by: Lukasz Majewski <l.majewski@majess.pl> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'net/net.c')
-rw-r--r--net/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/net.c b/net/net.c
index 2a6efd85ea..a115ce2892 100644
--- a/net/net.c
+++ b/net/net.c
@@ -86,6 +86,7 @@
#include <environment.h>
#include <errno.h>
#include <net.h>
+#include <net/tftp.h>
#if defined(CONFIG_STATUS_LED)
#include <miiphy.h>
#include <status_led.h>
@@ -105,7 +106,6 @@
#if defined(CONFIG_CMD_SNTP)
#include "sntp.h"
#endif
-#include "tftp.h"
DECLARE_GLOBAL_DATA_PTR;