summaryrefslogtreecommitdiff
path: root/net/net.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-10 11:05:02 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-10 11:05:02 -0500
commit610f2e9c28a9c101e09fa1b78143cf5f00ed1593 (patch)
treefabf3bc00fbe07078a187c7f62a0504bac8ff450 /net/net.c
parent902531788376046da212afd1661cffb62f3daa1c (diff)
downloadu-boot-imx-610f2e9c28a9c101e09fa1b78143cf5f00ed1593.zip
u-boot-imx-610f2e9c28a9c101e09fa1b78143cf5f00ed1593.tar.gz
u-boot-imx-610f2e9c28a9c101e09fa1b78143cf5f00ed1593.tar.bz2
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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/net.c b/net/net.c
index f96eb28..e9d7757 100644
--- a/net/net.c
+++ b/net/net.c
@@ -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)
{