[PATCH 2/4] net: Add SYS_FAULT_MII_ADDR to Kconfig

Jerome Forissier jerome.forissier at linaro.org
Fri Sep 26 09:25:27 CEST 2025



On 9/25/25 22:44, Tom Rini wrote:
> 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 at konsulko.com>
> ---
> Cc: Jerome Forissier <jerome.forissier at linaro.org>
> 
> Changes in v2:
> - Add missing dependency on LED_STATUS_RED_ENABLE as well.
> ---
>  README      | 3 ---
>  net/Kconfig | 4 ++++
>  2 files changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/README b/README
> index 07cfded6be53..27cde241bef4 100644
> --- a/README
> +++ b/README
> @@ -1238,9 +1238,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 40ec6bbce761..5768fab6f8fb 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_PORT
>  	bool "Set TFTP UDP source/destination ports via the environment"
>  	help

Acked-by: Jerome Forissier <jerome.forissier at linaro.org>

Thanks,
-- 
Jerome


More information about the U-Boot mailing list