]> git.sur5r.net Git - u-boot/commitdiff
uec: add support for RGMII_RXID interface mode
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Mon, 24 Mar 2008 17:46:28 +0000 (20:46 +0300)
committerKim Phillips <kim.phillips@freescale.com>
Wed, 26 Mar 2008 00:16:46 +0000 (19:16 -0500)
PHY drivers will use it to setup software delay between RXD and RXC
signals.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
drivers/qe/uec.c
drivers/qe/uec.h

index 55f37cb55c3007647b07ee136aa3faf94b11a73f..d34430c659161d032182d3a89ad80585a1a517ad 100644 (file)
@@ -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;
index c384055cebf98823482aba4f60f5ad9e835c8eb4..7762de6a8d925ec90413614f1407898687df13d0 100644 (file)
@@ -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;