summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-22 09:33:51 -0700
committerTom Rini <trini@konsulko.com>2023-03-02 17:45:58 -0500
commitb51b1a8442e590cdfcb6b110803e87cdf4783dfd (patch)
tree47c77e9f8da9ba1ceaf70e70e71c21b2e033cd33 /net
parentcd3a35ef0bfa564c59c4113f3c3c0631bd04a3a9 (diff)
downloadu-boot-b51b1a8442e590cdfcb6b110803e87cdf4783dfd.tar.gz
Correct SPL uses of PHY_FIXED
This converts 3 usages of this option to the non-SPL form, since there is no SPL_PHY_FIXED defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net')
-rw-r--r--net/mdio-uclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mdio-uclass.c b/net/mdio-uclass.c
index d80037d0ac..e758cc66d7 100644
--- a/net/mdio-uclass.c
+++ b/net/mdio-uclass.c
@@ -175,7 +175,7 @@ static struct phy_device *dm_eth_connect_phy_handle(struct udevice *ethdev,
struct phy_device *phy;
ofnode phynode;
- if (CONFIG_IS_ENABLED(PHY_FIXED) &&
+ if (IS_ENABLED(CONFIG_PHY_FIXED) &&
ofnode_phy_is_fixed_link(dev_ofnode(ethdev), &phynode)) {
phy = phy_connect(NULL, 0, ethdev, interface);
goto out;