
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 pavel@denx.de Signed-off-by: Thomas Chou thomas@wytron.com.tw
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