]> git.baikalelectronics.ru Git - uboot.git/commit
net/phy/vitesse: Rework RGMII skew configuration for VSC8601
authorAlex <alex.g@adaptrum.com>
Tue, 22 Nov 2016 18:55:13 +0000 (10:55 -0800)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 8 Dec 2016 16:36:22 +0000 (10:36 -0600)
commitd198c4d9fd18b25fb74201e4acff3227369d7b0b
tree22d8f65bdf2e41096d13f2bfd458fb25b3c3698d
parent14fdf12f6e208b21828f2b61968a624e35219303
net/phy/vitesse: Rework RGMII skew configuration for VSC8601

The VSC8601 config tried to add an RGMII skew based on #defines that
no config defines. That's quite an ugly way to do it. Since the skew
is only needed on RGMII interfaces, check the interface mode at
runtime, and apply the settings accordingly.

Tested on custom board with AM3352 SOC and VSC801 PHY.

Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/vitesse.c