This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 15fa005e5b3b7803fd202581eccc1778ac415207
Author: Jukka Laitinen <[email protected]>
AuthorDate: Thu Jan 29 15:55:12 2026 +0200

    arch/imx9/enet: Correct configuration flag IMX9_ENET1_PHYINIT
    
    The function is for any ethernet interface, given as paramter to the 
function,
    it is not for ENET1 only. The correct name is already used
    in the code, but the Kconfig had it wrong.
    
    Signed-off-by: Jukka Laitinen <[email protected]>
---
 arch/arm64/src/imx9/Kconfig | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/arch/arm64/src/imx9/Kconfig b/arch/arm64/src/imx9/Kconfig
index 72420e59126..667d281fa18 100644
--- a/arch/arm64/src/imx9/Kconfig
+++ b/arch/arm64/src/imx9/Kconfig
@@ -1022,6 +1022,17 @@ config IMX9_ENET_HPWORK
                Use high-priority work-queue for ethernet packet handling.
                Enable if low-latency ethernet packet handling is required.
 
+config IMX9_ENET_PHYINIT
+       bool "Board-specific PHY Initialization for ENET"
+       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_IMX9_ENET_PHYINIT is defined 
in
+               the configuration then the board specific logic must provide
+               imx9_phy_boardinitialize();  The i.MX9 ENET driver will call 
this
+               function one time before it first uses the PHY.
+
 config IMX9_ENET1_OTP_MAC_ADDR
        hex "MAC address offset in OCOTP"
        default 0x4ec
@@ -1120,17 +1131,6 @@ config IMX9_ENET1_PHY_FORCE_SPEED
                duplex mode is not auto-detected by the link partner. Only
                enable if you really know what you are doing!
 
-config IMX9_ENET1_PHYINIT
-       bool "Board-specific PHY Initialization for ENET1"
-       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_IMX9_ENET_PHYINIT is defined 
in
-               the configuration then the board specific logic must provide
-               imx9_phy_boardinitialize();  The i.MX9 ENET driver will call 
this
-               function one time before it first uses the PHY.
-
 endmenu # IMX9_ENET
 
 config IMX9_FLEXCAN

Reply via email to