mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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:
committed by
Simon Glass
parent
1fd92db83d
commit
8885c5fe90
@@ -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)
|
||||
|
Reference in New Issue
Block a user