diff options
author | Jon Loeliger <jdl@freescale.com> | 2007-07-09 17:39:42 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-07-09 17:39:42 -0500 |
commit | cb51c0bf88f95a1bca68324b0126f8eed8b43273 (patch) | |
tree | 880cc2d5f81365ffa61713de4164cf2e0116377e /drivers/tsec.c | |
parent | 07d38a17e964aec4c7827f0ee9a583bc8cc1ad6b (diff) | |
download | u-boot-imx-cb51c0bf88f95a1bca68324b0126f8eed8b43273.zip u-boot-imx-cb51c0bf88f95a1bca68324b0126f8eed8b43273.tar.gz u-boot-imx-cb51c0bf88f95a1bca68324b0126f8eed8b43273.tar.bz2 |
drivers/[n-z]*: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'drivers/tsec.c')
-rw-r--r-- | drivers/tsec.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/tsec.c b/drivers/tsec.c index e717cd7..55334d6 100644 --- a/drivers/tsec.c +++ b/drivers/tsec.c @@ -176,7 +176,7 @@ int tsec_initialize(bd_t * bis, int index, char *devname) priv->regs->maccfg1 |= MACCFG1_SOFT_RESET; priv->regs->maccfg1 &= ~(MACCFG1_SOFT_RESET); -#if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII) || defined(CONFIG_CMD_MII) \ +#if defined(CONFIG_MII) || defined(CONFIG_CMD_MII) \ && !defined(BITBANGMII) miiphy_register(dev->name, tsec_miiphy_read, tsec_miiphy_write); #endif @@ -1443,7 +1443,7 @@ static void relocate_cmds(void) relocated = 1; } -#if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII) || defined(CONFIG_CMD_MII) \ +#if defined(CONFIG_MII) || defined(CONFIG_CMD_MII) \ && !defined(BITBANGMII) struct tsec_private *get_priv_for_phy(unsigned char phyaddr) @@ -1502,7 +1502,6 @@ static int tsec_miiphy_write(char *devname, unsigned char addr, return 0; } -#endif /* defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII) - && !defined(BITBANGMII) */ +#endif #endif /* CONFIG_TSEC_ENET */ |