[Patch] dwc_eth_qos: Revert regression handling fixed phy
Nicole Battenfeld
epsi at gmx.de
Wed Apr 17 10:41:33 CEST 2024
Subject: [PATCH] dwc_eth_qos: Revert regression handling fixed phy
In imx8mp operation on eqos with fixed phy I get without that patch:
ERROR: no/invalid <fixed-link< property!
---
drivers/net/dwc_eth_qos.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c
index 67d80d987f..8ca8adead9 100644
--- a/drivers/net/dwc_eth_qos.c
+++ b/drivers/net/dwc_eth_qos.c
@@ -801,8 +801,10 @@ static int eqos_start(struct udevice *dev)
if (IS_ENABLED(CONFIG_PHY_FIXED)) {
fixed_node = ofnode_find_subnode(dev_ofnode(dev),
"fixed-link");
- if (ofnode_valid(fixed_node))
+ if (ofnode_valid(fixed_node)) {
eqos->phy = fixed_phy_create(dev_ofnode(dev));
+ eqos->phy_of_node = fixed_node;
+ }
}
if (!eqos->phy) {
More information about the U-Boot
mailing list