net: macb: Fix build error for CONFIG_DM_ETH enabled
authorWenyou Yang <wenyou.yang@atmel.com>
Tue, 17 May 2016 05:11:35 +0000 (13:11 +0800)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Aug 2016 18:34:44 +0000 (13:34 -0500)
commita212b66d7c9304271a2e6f78775d7c1e328cbb8e
tree901a9d10a6d47ad86d02687caa3deb94e42c5eea
parentf4b0df1823921ad3bc39820466e9c5201cef6210
net: macb: Fix build error for CONFIG_DM_ETH enabled

Use the right phy_connect() prototype for CONFIGF_DM_ETH.
Support to get the phy interface from dt and set GMAC_UR.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/macb.c
include/configs/corvus.h
include/configs/smartweb.h
include/configs/snapper9g45.h
include/configs/taurus.h