ab346c08b5
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>
46 lines
702 B
Plaintext
46 lines
702 B
Plaintext
# NXP S32Z/E MCUs family default configuration
|
|
|
|
# Copyright 2022 NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if SOC_SERIES_S32ZE_R52
|
|
|
|
config SOC_SERIES
|
|
default "s32ze"
|
|
|
|
config NUM_IRQS
|
|
# must be >= the highest interrupt number used
|
|
default 991
|
|
|
|
config FPU
|
|
default y
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
default 2000000
|
|
|
|
config MAIN_STACK_SIZE
|
|
default 1024
|
|
|
|
if !XIP
|
|
config FLASH_SIZE
|
|
default 0
|
|
|
|
config FLASH_BASE_ADDRESS
|
|
default 0
|
|
endif # !XIP
|
|
|
|
if NET_L2_ETHERNET
|
|
|
|
# NETC drops TCP/UDP packets with invalid checksum
|
|
config NET_TCP_CHECKSUM
|
|
default n
|
|
|
|
config NET_UDP_CHECKSUM
|
|
default n
|
|
|
|
endif # NET_L2_ETHERNET
|
|
|
|
source "soc/arm/nxp_s32/s32ze/Kconfig.defconfig.s32*"
|
|
|
|
endif # SOC_SERIES_S32ZE_R52
|