diff options
author | Simon Glass <sjg@chromium.org> | 2011-10-24 18:00:02 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-26 21:33:42 +0200 |
commit | e4bf0c5cfe1d7b2059a6802c9e11d567c928dbb1 (patch) | |
tree | b7119fed80e0e6bca1062215762c8ee2e414e747 /common/update.c | |
parent | 4793ee6522f10a3d108de7e47adbcf5f15eb3f46 (diff) | |
download | u-boot-imx-e4bf0c5cfe1d7b2059a6802c9e11d567c928dbb1.zip u-boot-imx-e4bf0c5cfe1d7b2059a6802c9e11d567c928dbb1.tar.gz u-boot-imx-e4bf0c5cfe1d7b2059a6802c9e11d567c928dbb1.tar.bz2 |
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>
Diffstat (limited to 'common/update.c')
-rw-r--r-- | common/update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/update.c b/common/update.c index a19f136..5b1a064 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; |