summaryrefslogtreecommitdiff
path: root/net/rarp.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-09 17:45:14 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-09 17:45:14 -0500
commit643d1ab23960950b52e0a2803c2d3ea4c558fa01 (patch)
treea68314be3734c91277645b398ae75cac97f57a30 /net/rarp.c
parentcb51c0bf88f95a1bca68324b0126f8eed8b43273 (diff)
downloadu-boot-imx-643d1ab23960950b52e0a2803c2d3ea4c558fa01.zip
u-boot-imx-643d1ab23960950b52e0a2803c2d3ea4c558fa01.tar.gz
u-boot-imx-643d1ab23960950b52e0a2803c2d3ea4c558fa01.tar.bz2
net/: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'net/rarp.c')
-rw-r--r--net/rarp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rarp.c b/net/rarp.c
index 39cabb3..921d0db 100644
--- a/net/rarp.c
+++ b/net/rarp.c
@@ -29,7 +29,7 @@
#include "rarp.h"
#include "tftp.h"
-#if (CONFIG_COMMANDS & CFG_CMD_NET) || defined(CONFIG_CMD_NET)
+#if defined(CONFIG_CMD_NET)
#define TIMEOUT 5 /* Seconds before trying BOOTP again */
#ifndef CONFIG_NET_RETRY_COUNT
@@ -59,7 +59,7 @@ RarpHandler(uchar * dummi0, unsigned dummi1, unsigned dummi2, unsigned dummi3)
*/
NetState = NETLOOP_SUCCESS;
return;
-#if (CONFIG_COMMANDS & CFG_CMD_NFS) || defined(CONFIG_CMD_NFS)
+#if defined(CONFIG_CMD_NFS)
} else if ((s != NULL) && !strcmp(s, "NFS")) {
NfsStart();
return;