summaryrefslogtreecommitdiff
path: root/drivers/net/netarm_eth.c
diff options
context:
space:
mode:
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2008-06-09 23:37:44 +0900
committerBen Warren <biggerbadderben@gmail.com>2008-06-09 23:21:05 -0700
commit3b904ccb93c3196727e2e9870cb1df903cab19ad (patch)
treecdba708c7c336b6a20c22a392a7160e21cd538e4 /drivers/net/netarm_eth.c
parente44f3ea4e801d37ef293284cb57b9637382f211a (diff)
downloadu-boot-imx-3b904ccb93c3196727e2e9870cb1df903cab19ad.zip
u-boot-imx-3b904ccb93c3196727e2e9870cb1df903cab19ad.tar.gz
u-boot-imx-3b904ccb93c3196727e2e9870cb1df903cab19ad.tar.bz2
net: Conditional COBJS inclusion of network drivers
Replace COBJS-y with appropriate driver config names. Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net/netarm_eth.c')
-rw-r--r--drivers/net/netarm_eth.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/netarm_eth.c b/drivers/net/netarm_eth.c
index ecf45dc..c011809 100644
--- a/drivers/net/netarm_eth.c
+++ b/drivers/net/netarm_eth.c
@@ -22,15 +22,11 @@
#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 */