drivers: nxp_s32_netc: fix init priorities
So far the init priories were: enetc_psi0=60 < enetc_vsin=61 < emdio=70 < ethernet-phy=80 because the Ethernet PSI driver was doing global initialization for the whole NETC complex, including enabling MDIO function (due to the way the HAL works). Change to use the default init priorities: mdio=60 < phy=70 < eth=enetc_psi0=80 < enetc_vsin=81 by executing at an early stage the NETC global initialization. This also allows to match the DT hierarchy representation of NETC with the effective priorities assigned. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
This commit is contained in:
parent
4433ff7154
commit
ab346c08b5
4 changed files with 36 additions and 38 deletions
|
@ -29,16 +29,8 @@ config FLASH_BASE_ADDRESS
|
|||
default 0
|
||||
endif # !XIP
|
||||
|
||||
# Ethernet driver must init first because it initializes the
|
||||
# NETC which is needed for EMDIO functionality
|
||||
if NET_L2_ETHERNET
|
||||
|
||||
config MDIO_INIT_PRIORITY
|
||||
default 70
|
||||
|
||||
config PHY_INIT_PRIORITY
|
||||
default 80
|
||||
|
||||
# NETC drops TCP/UDP packets with invalid checksum
|
||||
config NET_TCP_CHECKSUM
|
||||
default n
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue