summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-09-25 14:44:12 -0600
committerJerome Forissier <[email protected]>2025-10-22 11:16:09 +0200
commitf8220460372b2e2c12afec3faf89921dd4e39b6c (patch)
treea513860bb66a341f986ddc38735790866f5eb715
parent4cc1fe3f5617133e1d5a180f1d62cc987dc4e81d (diff)
net: Add SYS_FAULT_MII_ADDR to Kconfig
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 <[email protected]> Acked-by: Jerome Forissier <[email protected]>
-rw-r--r--README3
-rw-r--r--net/Kconfig4
2 files changed, 4 insertions, 3 deletions
diff --git a/README b/README
index b95c72bb367..20a73bab802 100644
--- 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
diff --git a/net/Kconfig b/net/Kconfig
index 7ba64d43b39..42fcba5323f 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -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