mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
net/: Remove lingering references to CFG_CMD_* symbols.
Fixed some broken instances of "#ifdef CMD_CFG_IDE" too. Those always evaluated TRUE, and thus were always compiled even when IDE really wasn't defined/wanted. Signed-off-by: Jon Loeliger <jdl@freescale.com>
This commit is contained in:
@@ -414,7 +414,7 @@ restart:
|
||||
NetServerIP = getenv_IPaddr ("serverip");
|
||||
DhcpRequest(); /* Basically same as BOOTP */
|
||||
break;
|
||||
#endif /* CFG_CMD_DHCP */
|
||||
#endif
|
||||
|
||||
case BOOTP:
|
||||
BootpTry = 0;
|
||||
@@ -775,7 +775,7 @@ static void PingStart(void)
|
||||
|
||||
PingSend();
|
||||
}
|
||||
#endif /* CFG_CMD_PING */
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_CMD_CDP)
|
||||
|
||||
@@ -1128,7 +1128,7 @@ static void CDPStart(void)
|
||||
|
||||
CDPSendTrigger();
|
||||
}
|
||||
#endif /* CFG_CMD_CDP */
|
||||
#endif
|
||||
|
||||
|
||||
void
|
||||
@@ -1693,7 +1693,7 @@ void copy_filename (char *dst, char *src, int size)
|
||||
*dst = '\0';
|
||||
}
|
||||
|
||||
#endif /* CFG_CMD_NET */
|
||||
#endif
|
||||
|
||||
void ip_to_string (IPaddr_t x, char *s)
|
||||
{
|
||||
|
Reference in New Issue
Block a user