]> git.sur5r.net Git - u-boot/blobdiff - net/net.c
fec_mxc: cleanup and factor out imx27 dependencies
[u-boot] / net / net.c
index fd13cd93f444394650c0a1953e2f33b5f6d2f405..595abd92236bc44006e608add3b3f02fe88f2c24 100644 (file)
--- a/net/net.c
+++ b/net/net.c
@@ -96,8 +96,6 @@
 #include "dns.h"
 #endif
 
-#if defined(CONFIG_CMD_NET)
-
 DECLARE_GLOBAL_DATA_PTR;
 
 #ifndef        CONFIG_ARP_TIMEOUT
@@ -1872,8 +1870,6 @@ void copy_filename (char *dst, char *src, int size)
        *dst = '\0';
 }
 
-#endif
-
 #if defined(CONFIG_CMD_NFS) || defined(CONFIG_CMD_SNTP) || defined(CONFIG_CMD_DNS)
 /*
  * make port a little random, but use something trivial to compute