diff options
author | Stefan Roese <sr@denx.de> | 2017-03-22 15:11:00 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2017-03-29 07:44:11 +0200 |
commit | 025e5921be8555f38ad4578df07b337fb6d185e0 (patch) | |
tree | d105d32da154522967754be3b483a3f8e991f31c | |
parent | 2fe23044cd7e8145dfd995d76cd6b991ad3da2a1 (diff) | |
download | u-boot-025e5921be8555f38ad4578df07b337fb6d185e0.tar.gz |
net: mvpp2: Add missing PHY_INTERFACE_MODE_RGMII_ID
Add a missing occurrance of PHY_INTERFACE_MODE_RGMII_ID, which should
be handled identical to PHY_INTERFACE_MODE_RGMII.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Stefan Chulski <stefanc@marvell.com>
Cc: Kostya Porotchkin <kostap@marvell.com>
Cc: Nadav Haklai <nadavh@marvell.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
-rw-r--r-- | drivers/net/mvpp2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c index a2de1aefc7..79442b873e 100644 --- a/drivers/net/mvpp2.c +++ b/drivers/net/mvpp2.c @@ -2886,6 +2886,7 @@ static void mvpp2_port_mii_set(struct mvpp2_port *port) val |= MVPP2_GMAC_INBAND_AN_MASK; break; case PHY_INTERFACE_MODE_RGMII: + case PHY_INTERFACE_MODE_RGMII_ID: val |= MVPP2_GMAC_PORT_RGMII_MASK; default: val &= ~MVPP2_GMAC_PCS_ENABLE_MASK; |