From 6a2c1fb1deea295e3d74a5fc6ed9b6c836d6da28 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Tue, 21 Jun 2022 10:33:55 -0700 Subject: [PATCH] imxrt:Kconfig add IMXRT_PHY_POLLING --- arch/arm/src/imxrt/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/src/imxrt/Kconfig b/arch/arm/src/imxrt/Kconfig index d0f41f54842..4b7c010a9e5 100644 --- a/arch/arm/src/imxrt/Kconfig +++ b/arch/arm/src/imxrt/Kconfig @@ -1409,6 +1409,16 @@ config IMXRT_ENET_PHYINIT imxrt_phy_boardinitialize(); The i.MXRT ENET driver will call this function one time before it first uses the PHY. +config IMXRT_PHY_POLLING + bool "Support network monitoring by poling the PHY" + default n + depends on IMXRT_ENET + select ARCH_PHY_POLLED + ---help--- + Some boards may not have an interrupt connected to the PHY. + This option allows the network monitor to be used by polling the + the PHY for status. + endmenu # IMXRT_ENET menu "Memory Configuration"