Skip to content

Commit acefd89

Browse files
committed
drivers: ethernet: remove ETH_STM32_HAL_MII
- Removed `ETH_STM32_HAL_MII` configuration option from `Kconfig.stm32_hal`. - Added `phy-connection-type = "mii"` to the device tree for the STM32H745I-DISCO board. Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
1 parent 155935f commit acefd89

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

boards/st/stm32h745i_disco/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ if NETWORKING
1111
config NET_L2_ETHERNET
1212
default y
1313

14-
config ETH_STM32_HAL_MII
15-
default y
16-
1714
# STM32H745I-DISCO have PHY connected to address 1
1815
config ETH_STM32_HAL_PHY_ADDRESS
1916
default 1

boards/st/stm32h745i_disco/stm32h745i_disco_stm32h745xx_m7.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@
144144
&eth_txd0_pg13
145145
&eth_rx_er_pi10>;
146146
pinctrl-names = "default";
147+
phy-connection-type = "mii";
147148
};
148149

149150
&mdio {

drivers/ethernet/Kconfig.stm32_hal

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,6 @@ config ETH_STM32_HAL_PHY_ADDRESS
7272
help
7373
The phy address to use.
7474

75-
config ETH_STM32_HAL_MII
76-
bool "Use MII interface"
77-
help
78-
Use the MII physical interface instead of RMII.
79-
8075
config ETH_STM32_CARRIER_CHECK_RX_IDLE_TIMEOUT_MS
8176
int "Carrier check timeout period (ms)"
8277
default 500

0 commit comments

Comments
 (0)