summaryrefslogtreecommitdiff
path: root/drivers/plb2800_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/plb2800_eth.c')
-rw-r--r--drivers/plb2800_eth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/plb2800_eth.c b/drivers/plb2800_eth.c
index 4c683d7..770f31b 100644
--- a/drivers/plb2800_eth.c
+++ b/drivers/plb2800_eth.c
@@ -25,8 +25,8 @@
#include <common.h>
-#if (CONFIG_COMMANDS & CFG_CMD_NET) && defined(CONFIG_NET_MULTI) \
- && defined(CONFIG_PLB2800_ETHER)
+#if ((CONFIG_COMMANDS & CFG_CMD_NET) || defined(CONFIG_CMD_NET)) \
+ && defined(CONFIG_NET_MULTI) && defined(CONFIG_PLB2800_ETHER)
#include <malloc.h>
#include <net.h>