[U-Boot] [PATCH v2 1/3] Move CONFIG_PHY_ADDR to Kconfig

Calvin Johnson calvin.johnson at nxp.com
Sat Feb 3 04:28:21 UTC 2018


Hi,

> From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Stefan
> Mavrodiev
> Sent: Friday, February 2, 2018 7:24 PM

<snip>

> diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index
> 95b7534..c934aed 100644
> --- a/drivers/net/phy/Kconfig
> +++ b/drivers/net/phy/Kconfig
> @@ -12,6 +12,13 @@ menuconfig PHYLIB
> 
>  if PHYLIB
> 
> +config PHY_ADDR
> +	int "PHY address"
> +	default 1 if ARCH_SUNXI
> +	default 0
> +	help
> +	  The address of PHY on MII bus. Usually in range of 0 to 31.

Isn't board Kconfig, the right place to keep this?

Regards
Calvin


More information about the U-Boot mailing list