diff --git a/soc/nxp/s32/s32k3/Kconfig.defconfig b/soc/nxp/s32/s32k3/Kconfig.defconfig index 2e3609c5377c8d..768a3b16c7f535 100644 --- a/soc/nxp/s32/s32k3/Kconfig.defconfig +++ b/soc/nxp/s32/s32k3/Kconfig.defconfig @@ -15,7 +15,7 @@ config NUM_IRQS config FPU default y -if NET_L2_ETHERNET +if ETH_DRIVER && NET_L2_ETHERNET config NET_TCP_CHECKSUM default n @@ -23,7 +23,7 @@ config NET_TCP_CHECKSUM config NET_UDP_CHECKSUM default n -endif # NET_L2_ETHERNET +endif # ETH_DRIVER && NET_L2_ETHERNET config CACHE_MANAGEMENT default y diff --git a/soc/nxp/s32/s32ze/Kconfig.defconfig b/soc/nxp/s32/s32ze/Kconfig.defconfig index 5373018fb27c9c..7f6269ca06d061 100644 --- a/soc/nxp/s32/s32ze/Kconfig.defconfig +++ b/soc/nxp/s32/s32ze/Kconfig.defconfig @@ -18,7 +18,7 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC config MAIN_STACK_SIZE default 1024 -if NET_L2_ETHERNET +if ETH_DRIVER && NET_L2_ETHERNET # NETC drops TCP/UDP packets with invalid checksum config NET_TCP_CHECKSUM @@ -27,6 +27,6 @@ config NET_TCP_CHECKSUM config NET_UDP_CHECKSUM default n -endif # NET_L2_ETHERNET +endif # ETH_DRIVER && NET_L2_ETHERNET endif # SOC_SERIES_S32ZE