]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - net/tftp.h
dm: net: Use existing Ethernet init for driver model
[karo-tx-uboot.git] / net / tftp.h
index e3dfb2628aa51bf140d2df6b2e32995aa53fce01..c411c9b2e653190d6e1ba359b3044b2847d6db19 100644 (file)
@@ -2,6 +2,8 @@
  *     LiMon - BOOTP/TFTP.
  *
  *     Copyright 1994, 1995, 2000 Neil Russell.
+ *     Copyright 2011 Comelit Group SpA
+ *                    Luca Ceresoli <luca.ceresoli@comelit.it>
  *     (See License)
  */
 
  */
 
 /* tftp.c */
-extern void    TftpStart (void);       /* Begin TFTP get */
+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;
 
 /**********************************************************************/