summaryrefslogtreecommitdiff
path: root/board/hymod/bsp.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-10-24 18:00:02 +0000
committerWolfgang Denk <wd@denx.de>2011-10-26 21:33:42 +0200
commite4bf0c5cfe1d7b2059a6802c9e11d567c928dbb1 (patch)
treeb7119fed80e0e6bca1062215762c8ee2e414e747 /board/hymod/bsp.c
parent4793ee6522f10a3d108de7e47adbcf5f15eb3f46 (diff)
downloadu-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 'board/hymod/bsp.c')
-rw-r--r--board/hymod/bsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/hymod/bsp.c b/board/hymod/bsp.c
index 2cd3707..cd9c4e2 100644
--- a/board/hymod/bsp.c
+++ b/board/hymod/bsp.c
@@ -200,7 +200,7 @@ do_fpga (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
load_addr = simple_strtoul (argv[3], NULL, 16);
NetBootFileXferSize = 0;
- if (NetLoop (TFTP) <= 0) {
+ if (NetLoop(TFTPGET) <= 0) {
printf ("tftp transfer failed - aborting "
"fgpa load\n");
return 1;