diff options
author | Jon Loeliger <jdl@freescale.com> | 2007-07-10 20:05:02 +0400 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-07-10 20:05:02 +0400 |
commit | 610f2e9c28a9c101e09fa1b78143cf5f00ed1593 (patch) | |
tree | fabf3bc00fbe07078a187c7f62a0504bac8ff450 /net/net.c | |
parent | 902531788376046da212afd1661cffb62f3daa1c (diff) | |
download | u-boot-610f2e9c28a9c101e09fa1b78143cf5f00ed1593.tar.xz |
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>
Diffstat (limited to 'net/net.c')
-rw-r--r-- | net/net.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) { |