Skip to content

Commit 5341f4a

Browse files
spectrum70aescolar
authored andcommitted
soc: st: set soc-level phy priority
Introducing MDIO and PHY support for stm32, phy driver gets error (-116) if it tries to read phy chip id, since MDIO IP is part of ETH IP, and eth hw module is still not initialized. Forcing a priority that allows possibly connected PHY chip to be detected properly at initial boot. Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
1 parent 2fbb01a commit 5341f4a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

soc/st/stm32/Kconfig.defconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ config CLOCK_CONTROL_INIT_PRIORITY
5757
default 1
5858
depends on CLOCK_CONTROL
5959

60+
config PHY_INIT_PRIORITY
61+
default 81
62+
depends on NET_L2_ETHERNET && ETH_DRIVER
63+
6064
config MEMC_STM32
6165
default y
6266
depends on MEMC

0 commit comments

Comments
 (0)