[U-Boot] [PATCH] arm: socfpga: Don't redefine CONFIG_PHYLIB

Marek Vasut
2015-12-05T18:09:47Z

On Saturday, December 05, 2015 at 07:03:36 PM, Pavel Machek wrote:
> On Sat 2015-12-05 18:54:01, Marek Vasut wrote:
> > On Saturday, December 05, 2015 at 06:25:19 PM, Pavel Machek wrote:
> > > On Sat 2015-12-05 15:04:25, Marek Vasut wrote:
> > > > On Saturday, December 05, 2015 at 08:50:39 AM, Pavel Machek wrote:
> > > > > CONFIG_PHYLIB is already set by the config system
> > > >
> > > > Where exactly is it set by the config system ?
> > > >
> > > > > don't set it again.
> > > > > Avoids ton of warnings.
> > > >
> > > > Sorry, I don't seem to be able to replicate these warnings. Can you
> > > > provide more details ?
> > >
> > > U-boot based on be30dfbabbee12770221f434d2aa08627e712b97 .
> > >
> > > pavel at duo:~/amp/u-boot$ grep -ri PHYLIB `find . -name "Kconfig"`
> > > ./drivers/net/Kconfig:config PHYLIB
> > > ./drivers/net/Kconfig: select PHYLIB
> > > ./drivers/net/Kconfig: 100Mbit and 1 Gbit operation. You must
> > > enable CONFIG_PHYLIB to
> > > ./drivers/net/Kconfig: select PHYLIB
> > >
> > > ALTERA_TSE selects it.
> >
> > Altera TSE is not selected on any socfpga platform to my knowledge.
> > Could it be your patch which is causing the interference ?
>
> Ok, that explains why you don't see it. I have ALTERA_TSE
> enabled. ... which is probably useless, but still should not cause ton
> of warnings.
>
> Question is: how to solve it properly?

Ccing Joe.

Best regards,
Marek Vasut