aboutsummaryrefslogtreecommitdiff
path: root/net/eth_common.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-04-07 10:51:49 -0400
committerTom Rini <trini@konsulko.com>2023-04-07 10:51:49 -0400
commit19d0c64f89ee5a0d5d3077e5d7ec7dafd74a0d45 (patch)
tree0d4a0f89694e6869f1b0a453b3cc2f4fdec4ce9e /net/eth_common.c
parent340bebf9c799793affefd166875d5776744988bd (diff)
parentb0177a24d48e4ce13bfd7fce0d9c17dc0996f9a5 (diff)
Merge branch 'master_net/phy/prep-cleanup' of https://source.denx.de/u-boot/custodians/u-boot-sh
- PHY framework cleanups
Diffstat (limited to 'net/eth_common.c')
-rw-r--r--net/eth_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/eth_common.c b/net/eth_common.c
index 82d527abba..c94a7ba6ae 100644
--- a/net/eth_common.c
+++ b/net/eth_common.c
@@ -37,7 +37,7 @@ void eth_common_init(void)
miiphy_init();
#endif
-#ifdef CONFIG_PHYLIB
+#if defined(CONFIG_NEEDS_MANUAL_RELOC) && defined(CONFIG_PHYLIB)
phy_init();
#endif
#endif