Since commit c3f5ce7308 ("net: phy: micrel: Add support for specifying pad
skew values") and commit 2720a02e8a ("net: phy: micrel: backport finding
PHY properties") the phy driver can handle this taking the DT specified
values into account. Those values are exactly the same as the ones
specified here.

Signed-off-by: Marco Felsch <[email protected]>
---
 arch/arm/boards/boundarydevices-nitrogen6/board.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/arch/arm/boards/boundarydevices-nitrogen6/board.c 
b/arch/arm/boards/boundarydevices-nitrogen6/board.c
index d9514d9d48..8c565c74a0 100644
--- a/arch/arm/boards/boundarydevices-nitrogen6/board.c
+++ b/arch/arm/boards/boundarydevices-nitrogen6/board.c
@@ -43,16 +43,6 @@ static int ksz9021rn_phy_fixup(struct phy_device *dev)
 {
        phy_write(dev, 0x09, 0x0f00);
 
-       /* do same as linux kernel */
-       /* min rx data delay */
-       phy_write(dev, 0x0b, 0x8105);
-       phy_write(dev, 0x0c, 0x0000);
-
-       /* max rx/tx clock delay, min rx/tx control delay */
-       phy_write(dev, 0x0b, 0x8104);
-       phy_write(dev, 0x0c, 0xf0f0);
-       phy_write(dev, 0x0b, 0x104);
-
        return 0;
 }
 
-- 
2.20.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to