From 3d384f5d1e9aa24ab923c144725c7f6fc74170cc Mon Sep 17 00:00:00 2001 From: Ha Duong Quang Date: Thu, 8 Aug 2024 14:35:49 +0700 Subject: [PATCH] boards: s32ze: enable NET_L2_ETHERNET when dummy L2 is disabled Enable CONFIG_NET_L2_ETHERNET only when dummy L2 layer is not used. Signed-off-by: Ha Duong Quang --- boards/nxp/s32z2xxdc2/Kconfig.defconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/boards/nxp/s32z2xxdc2/Kconfig.defconfig b/boards/nxp/s32z2xxdc2/Kconfig.defconfig index f54f3ca4d13..2b5dffc8933 100644 --- a/boards/nxp/s32z2xxdc2/Kconfig.defconfig +++ b/boards/nxp/s32z2xxdc2/Kconfig.defconfig @@ -23,4 +23,11 @@ config SHELL_STACK_SIZE endif # SHELL +if NETWORKING + +config NET_L2_ETHERNET + default y if !NET_LOOPBACK && !NET_TEST + +endif # NETWORKING + endif # BOARD_S32Z2XXDC2_S32Z270_RTU0 || BOARD_S32Z2XXDC2_S32Z270_RTU1