From e4bf0c5cfe1d7b2059a6802c9e11d567c928dbb1 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 24 Oct 2011 18:00:02 +0000 Subject: 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 --- common/update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/update.c') diff --git a/common/update.c b/common/update.c index a19f136647..5b1a064c29 100644 --- a/common/update.c +++ b/common/update.c @@ -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; -- cgit v1.2.3