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

Maxime Ripard maxime.ripard at bootlin.com
Fri Feb 2 12:48:44 UTC 2018


Hi,

On Fri, Feb 02, 2018 at 11:34:04AM +0200, Stefan Mavrodiev wrote:
> CONFIG_PHY_ADDR is used for old-style configuration. This makes
> impossible changing the PHY address, if multiple boards share a same
> config header file (for example include/configs/sunxi-common.h).
> 
> Moving this to Kconfig helps overcoming this issue. It's defined
> as entry inside PHYLIB section.
> 
> After the implemention, moveconfig was run. The issues are:
> 	- edb9315a	- CONFIG_PHYLIB is not enabled. Entry is
> 			  deleted.
> 
> 	- ds414		- CONFIG_PHYLIB is in incompatible format:
> 			  { 0x1, 0x0 }. This entry is also deleted.
> 
> 	- devkit3250	- The PHY_ADDR is in hex format (0x1F).
> 			  Manually CONFIG_PHY_ADDR=31 is added in
> 			  the defconfig.
> 
> After the changes the suspicious defconfigs passes building.
> 
> Signed-off-by: Stefan Mavrodiev <stefan at olimex.com>

Thanks for taking the time to do this.

Acked-by: Maxime Ripard <maxime.ripard at free-electrons.com>

Maxime

-- 
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180202/43ac911c/attachment-0001.sig>


More information about the U-Boot mailing list