From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Mon, 7 Dec 2015 14:37:45 +0800 Subject: [U-Boot] [PATCH] net: eth_designware: select PHYLIB in Kconfig In-Reply-To: <201512061952.09424.marex@denx.de> References: <1449407996-4062-1-git-send-email-thomas@wytron.com.tw> <201512061952.09424.marex@denx.de> Message-ID: <56652939.7010000@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de HI Marek, On 2015?12?07? 02:52, Marek Vasut wrote: > On Sunday, December 06, 2015 at 02:19:56 PM, Thomas Chou wrote: >> Select PHYLIB in drivers/net/Kconfig. And remove CONFIG_PHYLIB >> from legacy board header files. >> >> This fixed the warnings when both ALTERA_TSE and ETH_DESIGNWARE >> are selected. >> >> Reported-by: Pavel Machek >> Signed-off-by: Thomas Chou >> --- >> drivers/net/Kconfig | 1 + >> include/configs/axs101.h | 1 - >> include/configs/bf609-ezkit.h | 1 - >> include/configs/galileo.h | 1 - >> include/configs/socfpga_common.h | 1 - >> include/configs/spear-common.h | 1 - >> include/configs/stv0991.h | 1 - >> include/configs/sunxi-common.h | 1 - >> include/configs/tb100.h | 1 - >> include/configs/x600.h | 1 - >> 10 files changed, 1 insertion(+), 9 deletions(-) >> >> diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig >> index a03a95d..4b04d09 100644 >> --- a/drivers/net/Kconfig >> +++ b/drivers/net/Kconfig >> @@ -88,6 +88,7 @@ config ETH_SANDBOX_RAW >> >> config ETH_DESIGNWARE >> bool "Synopsys Designware Ethernet MAC" >> + select PHYLIB >> help >> This MAC is present in SoCs from various vendors. It supports >> 100Mbit and 1 Gbit operation. You must enable CONFIG_PHYLIB to > > You should also remove the PHYLIB check in drivers/net/designware.c , > otherwise looks good. > Yes, it will be removed. Thanks. Best regards, Thomas