arch: Make board selection choices optional
[platform/kernel/u-boot.git] / net / tftp.h
index e3dfb26..c411c9b 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;
 
 /**********************************************************************/