Merge branch 'master' of git://git.denx.de/u-boot-coldfire
[oweals/u-boot.git] / drivers / net / netarm_eth.c
index ecf45dc92f6ed8e0c18ddef1b3c12f6115d1a978..c011809b6fd4b2e19ea085fb116a04bea5aa98a2 100644 (file)
 
 
 #include <common.h>
-
-#ifdef CONFIG_DRIVER_NETARMETH
 #include <command.h>
 #include <net.h>
 #include "netarm_eth.h"
 #include <asm/arch/netarm_registers.h>
 
-#if defined(CONFIG_CMD_NET)
-
 static int na_mii_poll_busy (void);
 
 static void na_get_mac_addr (void)
@@ -352,7 +348,3 @@ extern int eth_send (volatile void *packet, int length)
        printf ("eth_send timeout\n");
        return 1;
 }
-
-#endif /* CONFIG_CMD_NET */
-
-#endif /* CONFIG_DRIVER_NETARMETH */