net: cosmetic: Clean up TFTP variables and functions

Make a thorough pass through all variables and function names contained
within tftp and remove CamelCase and improve naming.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Joe Hershberger
2015-04-08 01:41:07 -05:00
committed by Simon Glass
parent 1fd92db83d
commit 8885c5fe90
4 changed files with 259 additions and 254 deletions

View File

@ -247,7 +247,7 @@ void net_auto_load(void)
net_set_state(NETLOOP_SUCCESS);
return;
}
TftpStart(TFTPGET);
tftp_start(TFTPGET);
}
static void NetInitLoop(void)
@ -372,11 +372,11 @@ restart:
case TFTPPUT:
#endif
/* always use ARP to get server ethernet address */
TftpStart(protocol);
tftp_start(protocol);
break;
#ifdef CONFIG_CMD_TFTPSRV
case TFTPSRV:
TftpStartServer();
tftp_start_server();
break;
#endif
#if defined(CONFIG_CMD_DHCP)