From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Date: Sat, 5 Dec 2015 19:03:36 +0100 Subject: [U-Boot] [PATCH] arm: socfpga: Don't redefine CONFIG_PHYLIB In-Reply-To: <201512051854.01687.marex@denx.de> References: <20151205075038.GA25212@amd> <201512051504.25921.marex@denx.de> <20151205172519.GA23464@amd> <201512051854.01687.marex@denx.de> Message-ID: <20151205180336.GA25245@amd> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html