From 04dda09ed1f4b87f30cd4f7bb0fc1753fe7f3e37 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 21 Aug 2019 17:43:36 -0600 Subject: [PATCH] arch/arm/src/s32k1xx/Kconfig: Add Ethernet configuration options that were supposed to have been included in a previous commit. --- arch/arm/src/s32k1xx/Kconfig | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/src/s32k1xx/Kconfig b/arch/arm/src/s32k1xx/Kconfig index 3b97166fd3..eb3211692b 100644 --- a/arch/arm/src/s32k1xx/Kconfig +++ b/arch/arm/src/s32k1xx/Kconfig @@ -360,4 +360,36 @@ config LPI2C1_FILTSDA endmenu # LPI2C1 Configuration +menu "Ethernet Configuration" + depends on S32K1XX_ENET + +config MXRT_ENET_NRXBUFFERS + int "Number Rx buffers" + default 6 + +config S32K1XX_ENET_NTXBUFFERS + int "Number Tx buffers" + default 2 + +config S32K1XX_ENET_ENHANCEDBD + bool # not optional + default n + +config S32K1XX_ENET_NETHIFS + int # Not optional + default 1 + +config S32K1XX_ENET_PHYINIT + bool "Board-specific PHY Initialization" + default n + ---help--- + Some boards require specialized initialization of the PHY before it + can be used. This may include such things as configuring GPIOs, + resetting the PHY, etc. If CONFIG_S32K1XX_ENET_PHYINIT is defined in + the configuration then the board specific logic must provide + imxrt_phy_boardinitialize(); The i.MXRT ENET driver will call this + function one time before it first uses the PHY. + +endmenu # S32K1XX_ENET + endif # ARCH_CHIP_S32K1XX