]> git.baikalelectronics.ru Git - uboot.git/commit
net: mvpp2: add explicit sgmii-2500 support
authorMarcin Wojtas <mw@semihalf.com>
Mon, 3 May 2021 06:08:53 +0000 (08:08 +0200)
committerStefan Roese <sr@denx.de>
Thu, 20 May 2021 11:03:35 +0000 (13:03 +0200)
commit589fd282e02a4e5a09e51029d76546aa1ffe08b0
tree86edf2f39f59fad241388b39fbe9a23d54aad278
parent0eca2f189f85d61e288b72fe7b594511c8a1c448
net: mvpp2: add explicit sgmii-2500 support

Until now the mvpp2 driver used an extra 'phy-speed'
DT property in order to differentiate between the
SGMII and SGMII @2.5GHz. As there is a dedicated
PHY_INTERFACE_MODE_SGMII_2500 flag to mark the latter
start using it and drop the custom flag.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-by: Stefan Chulski <stefanc@marvell.com>
Reviewed-by: Nadav Haklai <nadavh@marvell.com>
Tested-by: Nadav Haklai <nadavh@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/mvpp2.c