
5 Feb
2018
5 Feb
'18
9:07 a.m.
On Sat, Feb 03, 2018 at 04:37:15AM +0000, Calvin Johnson wrote:
Hi,
From: U-Boot [mailto:u-boot-bounces@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
Sorry, I meant the default value can be defined in board/sunxi/Kconfig. Remaining definition of PHY_ADDR config can be here.
Tom has asked a few times not to do this but to put the defaults where the Kconfig option is defined. I'm not sure I remember the details though.
Maxime
--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com