]> git.sur5r.net Git - u-boot/blobdiff - net/tftp.c
net: pull CONFIG checks out of source and into makefile
[u-boot] / net / tftp.c
index cc60a3bd1ca888705b6b0375dfba61aa535291cb..090aa945ffd2455105cc83e609885c652afb6730 100644 (file)
@@ -10,8 +10,6 @@
 #include "tftp.h"
 #include "bootp.h"
 
-#if defined(CONFIG_CMD_NET)
-
 #define WELL_KNOWN_PORT        69              /* Well known TFTP port #               */
 #define TIMEOUT                5000UL          /* Millisecs to timeout for lost pkt */
 #ifndef        CONFIG_NET_RETRY_COUNT
@@ -690,5 +688,3 @@ static void parse_multicast_oack(char *pkt, int len)
 }
 
 #endif /* Multicast TFTP */
-
-#endif