diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2022-04-07 00:33:03 +0200 |
---|---|---|
committer | Ramon Fried <ramon@neureality.ai> | 2022-04-10 08:44:13 +0300 |
commit | ffb0f6f488b9eee2822c3c691778a26e1590694c (patch) | |
tree | f46ecb79f66b021439aef2838b8359d9e63b5cf7 /drivers/net/mvgbe.c | |
parent | 6706d7dcbee15ac41f3ddb50b31ff96d16567883 (diff) | |
download | u-boot-ffb0f6f488b9eee2822c3c691778a26e1590694c.zip u-boot-ffb0f6f488b9eee2822c3c691778a26e1590694c.tar.gz u-boot-ffb0f6f488b9eee2822c3c691778a26e1590694c.tar.bz2 |
treewide: Rename PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA
Rename constant PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA to make
it compatible with Linux' naming.
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Diffstat (limited to 'drivers/net/mvgbe.c')
-rw-r--r-- | drivers/net/mvgbe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mvgbe.c b/drivers/net/mvgbe.c index 32ec0b4..bf5ed55 100644 --- a/drivers/net/mvgbe.c +++ b/drivers/net/mvgbe.c @@ -1005,7 +1005,7 @@ static int mvgbe_of_to_plat(struct udevice *dev) /* Get phy-mode / phy_interface from DT */ pdata->phy_interface = dev_read_phy_mode(dev); - if (pdata->phy_interface == PHY_INTERFACE_MODE_NONE) + if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) pdata->phy_interface = PHY_INTERFACE_MODE_GMII; dmvgbe->phy_interface = pdata->phy_interface; |