net: tftpput: Rename TFTP to TFTPGET
This is a better name for this protocol. Also remove the typedef to keep checkpatch happy, and move zeroing of NetBootFileXferSize a little earlier since TFTPPUT will need to change this. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Wolfgang Denk
parent
4793ee6522
commit
e4bf0c5cfe
@@ -86,7 +86,7 @@ static int update_load(char *filename, ulong msec_max, int cnt_max, ulong addr)
|
||||
/* download the update file */
|
||||
load_addr = addr;
|
||||
copy_filename(BootFile, filename, sizeof(BootFile));
|
||||
size = NetLoop(TFTP);
|
||||
size = NetLoop(TFTPGET);
|
||||
|
||||
if (size < 0)
|
||||
rv = 1;
|
||||
|
||||
Reference in New Issue
Block a user