summaryrefslogtreecommitdiff
path: root/net/tftp.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-10-24 18:00:05 +0000
committerWolfgang Denk <wd@denx.de>2011-10-26 21:34:44 +0200
commit58f317d1823c34b41990f21931d143a6606f5507 (patch)
tree62ec42cc1c56ab96622a8487708fb2e16e0e4eb8 /net/tftp.c
parente4cde2f70d2377fdf484cbbc1729b188f81b8ec8 (diff)
downloadu-boot-imx-58f317d1823c34b41990f21931d143a6606f5507.zip
u-boot-imx-58f317d1823c34b41990f21931d143a6606f5507.tar.gz
u-boot-imx-58f317d1823c34b41990f21931d143a6606f5507.tar.bz2
net: tftpput: Support selecting get/put for tftp
TftpStart should support starting either a get or a put. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/tftp.c')
-rw-r--r--net/tftp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/tftp.c b/net/tftp.c
index 6d46bbb..7e3bb3d 100644
--- a/net/tftp.c
+++ b/net/tftp.c
@@ -595,8 +595,7 @@ TftpTimeout(void)
}
-void
-TftpStart(void)
+void TftpStart(enum proto_t protocol)
{
char *ep; /* Environment pointer */