summaryrefslogtreecommitdiff
path: root/board/atmel/atstk1000/eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/atstk1000/eth.c')
-rw-r--r--board/atmel/atstk1000/eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/atmel/atstk1000/eth.c b/board/atmel/atstk1000/eth.c
index 3a7916e..735e2a9 100644
--- a/board/atmel/atstk1000/eth.c
+++ b/board/atmel/atstk1000/eth.c
@@ -27,7 +27,7 @@
extern int macb_eth_initialize(int id, void *regs, unsigned int phy_addr);
-#if defined(CONFIG_MACB) && (CONFIG_COMMANDS & CFG_CMD_NET)
+#if defined(CONFIG_MACB) && ((CONFIG_COMMANDS & CFG_CMD_NET) || defined(CONFIG_CMD_NET))
void atstk1000_eth_initialize(bd_t *bi)
{
int id = 0;