summaryrefslogtreecommitdiffstats
path: root/net/tftp.h
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/tftp.h
parent5a6087277c271773248e30c53ba494e328a7d476 (diff)
downloadblackbird-obmc-uboot-346969584be509b444dd1ba0db31ca7adb47575b.tar.gz
blackbird-obmc-uboot-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/tftp.h')
-rw-r--r--net/tftp.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/net/tftp.h b/net/tftp.h
deleted file mode 100644
index c411c9b2e6..0000000000
--- a/net/tftp.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * LiMon - BOOTP/TFTP.
- *
- * Copyright 1994, 1995, 2000 Neil Russell.
- * Copyright 2011 Comelit Group SpA
- * Luca Ceresoli <luca.ceresoli@comelit.it>
- * (See License)
- */
-
-#ifndef __TFTP_H__
-#define __TFTP_H__
-
-/**********************************************************************/
-/*
- * Global functions and variables.
- */
-
-/* tftp.c */
-void tftp_start(enum proto_t protocol); /* Begin TFTP get/put */
-
-#ifdef CONFIG_CMD_TFTPSRV
-void tftp_start_server(void); /* Wait for incoming TFTP put */
-#endif
-
-extern ulong tftp_timeout_ms;
-extern int tftp_timeout_count_max;
-
-/**********************************************************************/
-
-#endif /* __TFTP_H__ */
OpenPOWER on IntegriCloud