diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-03-24 20:46:28 +0300 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2008-03-25 19:16:46 -0500 |
commit | 6a600c3a1876bc203445df4f0fd6b12648259666 (patch) | |
tree | ac87885123247b20913154d2be8a5445c4e3c3aa /drivers | |
parent | 91cdaa3a9d7562b869d96774e9c9ddf142c0848d (diff) | |
download | u-boot-imx-6a600c3a1876bc203445df4f0fd6b12648259666.zip u-boot-imx-6a600c3a1876bc203445df4f0fd6b12648259666.tar.gz u-boot-imx-6a600c3a1876bc203445df4f0fd6b12648259666.tar.bz2 |
uec: add support for RGMII_RXID interface mode
PHY drivers will use it to setup software delay between RXD and RXC
signals.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/qe/uec.c | 1 | ||||
-rw-r--r-- | drivers/qe/uec.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/qe/uec.c b/drivers/qe/uec.c index 55f37cb..d34430c 100644 --- a/drivers/qe/uec.c +++ b/drivers/qe/uec.c @@ -417,6 +417,7 @@ static int uec_set_mac_if_mode(uec_private_t *uec, enet_interface_e if_mode) maccfg2 |= MACCFG2_INTERFACE_MODE_BYTE; upsmr |= (UPSMR_RPM | UPSMR_TBIM); break; + case ENET_1000_RGMII_RXID: case ENET_1000_RGMII: maccfg2 |= MACCFG2_INTERFACE_MODE_BYTE; upsmr |= UPSMR_RPM; diff --git a/drivers/qe/uec.h b/drivers/qe/uec.h index c384055..7762de6 100644 --- a/drivers/qe/uec.h +++ b/drivers/qe/uec.h @@ -642,6 +642,7 @@ typedef enum enet_interface { ENET_100_RGMII, ENET_1000_GMII, ENET_1000_RGMII, + ENET_1000_RGMII_RXID, ENET_1000_TBI, ENET_1000_RTBI } enet_interface_e; |