Commit 25af71c4bfcd54a88cc9098f23416fe9d1f7d80c
Committed by
Marek Vasut
1 parent
0780697787
Exists in
v2017.01-smarct4x
and in
30 other branches
net: eth_designware: select PHYLIB in Kconfig
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. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reported-by: Pavel Machek <pavel@denx.de> Acked-by: Chin Liang See <clsee@altera.com> Acked-by: Pavel Machek <pavel@denx.de> Tested-by: Pavel Machek <pavel@denx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Showing 11 changed files with 1 additions and 13 deletions Side-by-side Diff
drivers/net/Kconfig
drivers/net/designware.c
... | ... | @@ -22,10 +22,6 @@ |
22 | 22 | |
23 | 23 | DECLARE_GLOBAL_DATA_PTR; |
24 | 24 | |
25 | -#if !defined(CONFIG_PHYLIB) | |
26 | -# error "DesignWare Ether MAC requires PHYLIB - missing CONFIG_PHYLIB" | |
27 | -#endif | |
28 | - | |
29 | 25 | static int dw_mdio_read(struct mii_dev *bus, int addr, int devad, int reg) |
30 | 26 | { |
31 | 27 | struct eth_mac_regs *mac_p = bus->priv; |
include/configs/axs101.h
include/configs/bf609-ezkit.h
include/configs/galileo.h
include/configs/socfpga_common.h
include/configs/spear-common.h
include/configs/stv0991.h
include/configs/sunxi-common.h
include/configs/tb100.h
include/configs/x600.h