summaryrefslogtreecommitdiffstats
path: root/drivers/bcm570x.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2007-06-11 19:02:10 -0500
committerWolfgang Denk <wd@denx.de>2007-07-04 00:23:11 +0200
commitd5be43de93ff905c465e509d45a3164ef48d26e7 (patch)
tree8adf5e095118afadc4b2f770daad386df1da3f4e /drivers/bcm570x.c
parentb453960d4fdb87b3970d96119b90df2ed024fc4a (diff)
downloadblackbird-obmc-uboot-d5be43de93ff905c465e509d45a3164ef48d26e7.tar.gz
blackbird-obmc-uboot-d5be43de93ff905c465e509d45a3164ef48d26e7.zip
drivers/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: Jon Loeliger <jdl@freescale.com>
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