mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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>
This commit is contained in:
parent
cd3a35ef0b
commit
b51b1a8442
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue