net: ravb: Remove writeext function call
authorBiju Das <biju.das.jz@bp.renesas.com>
Tue, 22 Sep 2020 06:51:41 +0000 (07:51 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 26 Sep 2020 15:25:44 +0000 (17:25 +0200)
The micrel phy driver is already configuring this values from
device tree. So remove the redundant phy configuration call from
this driver.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
drivers/net/ravb.c

index 886f53e..98883cd 100644 (file)
@@ -438,8 +438,6 @@ static int ravb_config(struct udevice *dev)
 
        writel(mask, eth->iobase + RAVB_REG_ECMR);
 
-       phy->drv->writeext(phy, -1, 0x02, 0x08, (0x0f << 5) | 0x19);
-
        return 0;
 }