summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx/ether_fcc.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-09 19:06:00 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-09 19:06:00 -0500
commit4431283c7e6d54ae180d466e51bf2d97471a0ad9 (patch)
treea8001e769b6478c615c62e423d4f1542e5060fe4 /cpu/mpc85xx/ether_fcc.c
parent3a1ed1e1f922c419bb71f7df4949d783ade369fa (diff)
downloadu-boot-imx-4431283c7e6d54ae180d466e51bf2d97471a0ad9.zip
u-boot-imx-4431283c7e6d54ae180d466e51bf2d97471a0ad9.tar.gz
u-boot-imx-4431283c7e6d54ae180d466e51bf2d97471a0ad9.tar.bz2
cpu/m*: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'cpu/mpc85xx/ether_fcc.c')
-rw-r--r--cpu/mpc85xx/ether_fcc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpu/mpc85xx/ether_fcc.c b/cpu/mpc85xx/ether_fcc.c
index ec3990c..4448cc3 100644
--- a/cpu/mpc85xx/ether_fcc.c
+++ b/cpu/mpc85xx/ether_fcc.c
@@ -48,13 +48,13 @@
#include <config.h>
#include <net.h>
-#if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII) || defined(CONFIG_CMD_MII)
+#if defined(CONFIG_MII) || defined(CONFIG_CMD_MII)
#include <miiphy.h>
#endif
#if defined(CONFIG_CPM2)
-#if defined(CONFIG_ETHER_ON_FCC) && ((CONFIG_COMMANDS & CFG_CMD_NET) || defined(CONFIG_CMD_NET)) && \
+#if defined(CONFIG_ETHER_ON_FCC) && defined(CONFIG_CMD_NET) && \
defined(CONFIG_NET_MULTI)
static struct ether_fcc_info_s
@@ -458,7 +458,7 @@ int fec_initialize(bd_t *bis)
eth_register(dev);
-#if (defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII) || defined(CONFIG_CMD_MII)) \
+#if (defined(CONFIG_MII) || defined(CONFIG_CMD_MII)) \
&& defined(CONFIG_BITBANGMII)
miiphy_register(dev->name,
bb_miiphy_read, bb_miiphy_write);