From f8220460372b2e2c12afec3faf89921dd4e39b6c Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 25 Sep 2025 14:44:12 -0600 Subject: [PATCH] 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 Acked-by: Jerome Forissier --- README | 3 --- net/Kconfig | 4 ++++ 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 -- 2.47.3