diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-12-07 20:53:29 +0800 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-12-22 04:42:27 +0100 |
commit | 25af71c4bfcd54a88cc9098f23416fe9d1f7d80c (patch) | |
tree | d5f6fde2ae61e4412614dba4835c16da39dca134 /drivers/net/designware.c | |
parent | 07806977878130dd27dfc926ef7002041f6cf288 (diff) |
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>
Diffstat (limited to 'drivers/net/designware.c')
-rw-r--r-- | drivers/net/designware.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/designware.c b/drivers/net/designware.c index a6c39c39ff..3af43b41fd 100644 --- a/drivers/net/designware.c +++ b/drivers/net/designware.c @@ -22,10 +22,6 @@ DECLARE_GLOBAL_DATA_PTR; -#if !defined(CONFIG_PHYLIB) -# error "DesignWare Ether MAC requires PHYLIB - missing CONFIG_PHYLIB" -#endif - static int dw_mdio_read(struct mii_dev *bus, int addr, int devad, int reg) { struct eth_mac_regs *mac_p = bus->priv; |