]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
net: Add SYS_FAULT_MII_ADDR to Kconfig
authorTom Rini <trini@konsulko.com>
Thu, 25 Sep 2025 20:44:12 +0000 (14:44 -0600)
committerJerome Forissier <jerome.forissier@linaro.org>
Wed, 22 Oct 2025 09:16:09 +0000 (11:16 +0200)
The support found under SYS_FAULT_ECHO_LINK_DOWN requires that the
SYS_FAULT_MII_ADDR symbol also be set. This wasn't previously found in
Kconfig, so add it now.

Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
README
net/Kconfig

diff --git a/README b/README
index b95c72bb367baa96fba88f1f7f255e19bb8047f4..20a73bab802ca8d40d33ec6686840190e854ac1f 100644 (file)
--- a/README
+++ b/README
@@ -1216,9 +1216,6 @@ Note: once the monitor has been relocated, then it will complain if
 the default environment is used; a new CRC is computed as soon as you
 use the "saveenv" command to store a valid environment.
 
-- CONFIG_SYS_FAULT_MII_ADDR:
-               MII address of the PHY to check for the Ethernet link state.
-
 - CONFIG_DISPLAY_BOARDINFO
                Display information about the board that U-Boot is running on
                when U-Boot starts up. The board function checkboard() is called
index 7ba64d43b398415825921e7b61dc4c81e986618a..42fcba5323fe767ffa36aa8fcb8b131ac1dc2fe7 100644 (file)
@@ -60,6 +60,10 @@ config SYS_FAULT_ECHO_LINK_DOWN
          this option is active, then CONFIG_SYS_FAULT_MII_ADDR also needs to
          be configured.
 
+config SYS_FAULT_MII_ADDR
+       hex "MII address of the PHY to check for the Ethernet link state"
+       depends on SYS_FAULT_ECHO_LINK_DOWN && LED_STATUS_RED_ENABLE
+
 config TFTP_WINDOWSIZE
        int "TFTP window size"
        default 1