summaryrefslogtreecommitdiff
path: root/drivers/net/macb.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/macb.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/macb.c')
-rw-r--r--drivers/net/macb.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/macb.c b/drivers/net/macb.c
index e5733f6..aa39284 100644
--- a/drivers/net/macb.c
+++ b/drivers/net/macb.c
@@ -17,9 +17,6 @@
*/
#include <common.h>
-#if defined(CONFIG_MACB) \
- && (defined(CONFIG_CMD_NET) || defined(CONFIG_CMD_MII))
-
/*
* The u-boot networking stack is a little weird. It seems like the
* networking core allocates receive buffers up front without any
@@ -593,5 +590,3 @@ int miiphy_write(unsigned char addr, unsigned char reg, unsigned short value)
}
#endif
-
-#endif /* CONFIG_MACB */