]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: dwc_eth_qos: Fold board_interface_eth_init into STM32 glue code
authorMarek Vasut <marex@denx.de>
Tue, 26 Mar 2024 12:07:24 +0000 (13:07 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 19 Apr 2024 09:30:50 +0000 (11:30 +0200)
commitd100c1abb778f408691f983c9bf34ed9b4869493
treedbec0a9f8daa4a7d8ded96979db3c78df014dac5
parent85d1de9a1f39a0ff393cd90aec46ce47d40be60c
net: dwc_eth_qos: Fold board_interface_eth_init into STM32 glue code

Move board_interface_eth_init() into eqos_probe_syscfg_stm32() in STM32
driver glue code. The eqos_probe_syscfg_stm32() parses STM32 specific DT
properties of this MAC and configures SYSCFG registers accordingly, there
is nothing board specific happening in this function, move it into generic
driver code instead. Drop the now unused duplicates from board files.

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Marek Vasut <marex@denx.de>
board/dhelectronics/dh_stm32mp1/board.c
board/st/stm32mp1/stm32mp1.c
drivers/net/dwc_eth_qos_stm32.c