diff options
author | Simon Glass | 2011-10-24 18:00:02 +0000 |
---|---|---|
committer | Wolfgang Denk | 2011-10-26 21:33:42 +0200 |
commit | e4bf0c5cfe1d7b2059a6802c9e11d567c928dbb1 (patch) | |
tree | b7119fed80e0e6bca1062215762c8ee2e414e747 /common/cmd_elf.c | |
parent | 4793ee6522f10a3d108de7e47adbcf5f15eb3f46 (diff) |
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/cmd_elf.c')
-rw-r--r-- | common/cmd_elf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/cmd_elf.c b/common/cmd_elf.c index bf3261256f3..11ffc1b8aa7 100644 --- a/common/cmd_elf.c +++ b/common/cmd_elf.c @@ -133,10 +133,10 @@ int do_bootvx (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) /* Check to see if we need to tftp the image ourselves before starting */ if ((argc == 2) && (strcmp (argv[1], "tftp") == 0)) { - if (NetLoop (TFTP) <= 0) + if (NetLoop(TFTPGET) <= 0) return 1; - printf ("Automatic boot of VxWorks image at address 0x%08lx ... \n", - addr); + printf("Automatic boot of VxWorks image at address 0x%08lx " + "...\n", addr); } #endif |