diff options
author | Luca Ceresoli <luca.ceresoli@comelit.it> | 2011-05-17 00:03:39 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-05-19 21:38:26 +0200 |
commit | e59e35620af0d57de75cddb9ec3f19449b998868 (patch) | |
tree | 5194c71ec38881b5b9a02927d61eb82288fc226c /net/tftp.h | |
parent | e3fb0abe2befb405428b23d6c0da4682a347b4f7 (diff) | |
download | u-boot-imx-e59e35620af0d57de75cddb9ec3f19449b998868.zip u-boot-imx-e59e35620af0d57de75cddb9ec3f19449b998868.tar.gz u-boot-imx-e59e35620af0d57de75cddb9ec3f19449b998868.tar.bz2 |
TFTP: net/tftp.c: add server mode receive
Signed-off-by: Luca Ceresoli <luca.ceresoli@comelit.it>
Cc: Wolfgang Denk <wd@denx.de>
Acked-by: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'net/tftp.h')
-rw-r--r-- | net/tftp.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) */ @@ -16,6 +18,10 @@ /* tftp.c */ extern void TftpStart (void); /* Begin TFTP get */ +#ifdef CONFIG_CMD_TFTPSRV +extern void TftpStartServer(void); /* Wait for incoming TFTP put */ +#endif + /**********************************************************************/ #endif /* __TFTP_H__ */ |