diff options
author | Jon Loeliger <jdl@freescale.com> | 2007-07-09 19:06:00 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-07-09 19:06:00 -0500 |
commit | 4431283c7e6d54ae180d466e51bf2d97471a0ad9 (patch) | |
tree | a8001e769b6478c615c62e423d4f1542e5060fe4 /cpu/mpc8220/fec.c | |
parent | 3a1ed1e1f922c419bb71f7df4949d783ade369fa (diff) | |
download | u-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/mpc8220/fec.c')
-rw-r--r-- | cpu/mpc8220/fec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpu/mpc8220/fec.c b/cpu/mpc8220/fec.c index 144d623..992e0ff 100644 --- a/cpu/mpc8220/fec.c +++ b/cpu/mpc8220/fec.c @@ -15,10 +15,10 @@ #include "fec.h" #undef DEBUG -#if ((CONFIG_COMMANDS & CFG_CMD_NET) || defined(CONFIG_CMD_NET)) && defined(CONFIG_NET_MULTI) && \ +#if defined(CONFIG_CMD_NET) && defined(CONFIG_NET_MULTI) && \ defined(CONFIG_MPC8220_FEC) -#if !(defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII) || defined(CONFIG_CMD_MII)) +#if !(defined(CONFIG_MII) || defined(CONFIG_CMD_MII)) #error "CONFIG_MII has to be defined!" #endif @@ -847,7 +847,7 @@ int mpc8220_fec_initialize (bd_t * bis) sprintf (dev->name, "FEC ETHERNET"); eth_register (dev); -#if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII) || defined(CONFIG_CMD_MII) +#if defined(CONFIG_MII) || defined(CONFIG_CMD_MII) miiphy_register (dev->name, fec8220_miiphy_read, fec8220_miiphy_write); #endif |