summaryrefslogtreecommitdiffstats
path: root/drivers/bcm570x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bcm570x.c')
-rw-r--r--drivers/bcm570x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bcm570x.c b/drivers/bcm570x.c
index 5f632a6469..5a3ec22df0 100644
--- a/drivers/bcm570x.c
+++ b/drivers/bcm570x.c
@@ -6,8 +6,8 @@
#include <common.h>
-#if (CONFIG_COMMANDS & CFG_CMD_NET) && (!defined(CONFIG_NET_MULTI)) && \
- defined(CONFIG_BCM570x)
+#if ((CONFIG_COMMANDS & CFG_CMD_NET) || defined(CONFIG_CMD_NET)) \
+ && (!defined(CONFIG_NET_MULTI)) && defined(CONFIG_BCM570x)
#ifdef CONFIG_BMW
#include <mpc824x.h>
OpenPOWER on IntegriCloud