diff options
author | Wolfgang Denk <wd@denx.de> | 2010-06-30 01:04:48 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-06-30 01:04:48 +0200 |
commit | 55357b7846237d12aa5f07aec657c5dbfaf790ed (patch) | |
tree | d95879d513876d874e320b42c3dd32d6d3d02f35 /drivers/net/tsec.c | |
parent | e5ed138a23923ebe61843244748d98d3dbc04777 (diff) | |
parent | bde3892edac99bf974e5b9809a112a6ce530be03 (diff) | |
download | u-boot-imx-55357b7846237d12aa5f07aec657c5dbfaf790ed.zip u-boot-imx-55357b7846237d12aa5f07aec657c5dbfaf790ed.tar.gz u-boot-imx-55357b7846237d12aa5f07aec657c5dbfaf790ed.tar.bz2 |
Merge branch 'master' of ssh://gemini/home/wd/git/u-boot/master
Diffstat (limited to 'drivers/net/tsec.c')
-rw-r--r-- | drivers/net/tsec.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index 3e4c3bd..5fa6f61 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c @@ -281,12 +281,16 @@ static uint tsec_local_mdio_read(volatile tsec_mdio_t *phyregs, | TBIANA_FULL_DUPLEX \ ) -/* Force the TBI PHY into 1000Mbps full duplex when in SGMII mode */ +/* By default force the TBI PHY into 1000Mbps full duplex when in SGMII mode */ +#ifndef CONFIG_TSEC_TBICR_SETTINGS #define TBICR_SETTINGS ( \ TBICR_PHY_RESET \ | TBICR_FULL_DUPLEX \ | TBICR_SPEED1_SET \ ) +#else +#define TBICR_SETTINGS CONFIG_TSEC_TBICR_SETTINGS +#endif /* CONFIG_TSEC_TBICR_SETTINGS */ /* Configure the TBI for SGMII operation */ static void tsec_configure_serdes(struct tsec_private *priv) |