[PATCH] net: ravb: Remove writeext function call
Biju Das
biju.das.jz at bp.renesas.com
Tue Sep 22 08:51:41 CEST 2020
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 at bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>
---
Tested on RCar M3N board, the final configuration value is same.
rxc-skew-ps 19
ksz90x1_of_config_group Final:1f9
---
drivers/net/ravb.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c
index 886f53ee82..98883cd15b 100644
--- a/drivers/net/ravb.c
+++ b/drivers/net/ravb.c
@@ -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;
}
--
2.17.1
More information about the U-Boot
mailing list