summaryrefslogtreecommitdiff
path: root/include/configs/smartweb.h
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@atmel.com>2016-05-17 13:11:35 +0800
committerJoe Hershberger <joe.hershberger@ni.com>2016-08-15 13:34:44 -0500
commita212b66d7c9304271a2e6f78775d7c1e328cbb8e (patch)
tree901a9d10a6d47ad86d02687caa3deb94e42c5eea /include/configs/smartweb.h
parentf4b0df1823921ad3bc39820466e9c5201cef6210 (diff)
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>
Diffstat (limited to 'include/configs/smartweb.h')
-rw-r--r--include/configs/smartweb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/smartweb.h b/include/configs/smartweb.h
index 6add3916fa..076a5ce299 100644
--- a/include/configs/smartweb.h
+++ b/include/configs/smartweb.h
@@ -122,6 +122,7 @@
*
*/
#define CONFIG_MACB
+#define CONFIG_PHYLIB
#define CONFIG_USB_HOST_ETHER
#define CONFIG_USB_ETHER_ASIX
#define CONFIG_USB_ETHER_MCS7830