diff options
author | Simon Glass <sjg@chromium.org> | 2011-10-24 18:00:05 +0000 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2011-11-17 18:11:28 -0800 |
commit | 3039845847edd5fd7ac122b3c65aa20b280c10eb (patch) | |
tree | fbd341767bfcc216d3613f06032ead3431b91cc3 /net/tftp.h | |
parent | 78a82e4bab98d224528e81ee57e37e0a9b9b2628 (diff) |
BACKPORT: net: tftpput: Support selecting get/put for tftp
TftpStart should support starting either a get or a put.
(cherry-picked from 58f317d)
Change-Id: Ic221520a1c7cb00536a42d3ab531efbcaba35bf6
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/11799
Diffstat (limited to 'net/tftp.h')
-rw-r--r-- | net/tftp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tftp.h b/net/tftp.h index 3abdf7bc267..c51aa253c47 100644 --- a/net/tftp.h +++ b/net/tftp.h @@ -16,7 +16,7 @@ */ /* tftp.c */ -extern void TftpStart (void); /* Begin TFTP get */ +void TftpStart(enum proto_t protocol); /* Begin TFTP get/put */ #ifdef CONFIG_CMD_TFTPSRV extern void TftpStartServer(void); /* Wait for incoming TFTP put */ |