diff options
author | Wenyou Yang <wenyou.yang@atmel.com> | 2016-05-17 13:11:35 +0800 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2016-08-15 13:34:44 -0500 |
commit | a212b66d7c9304271a2e6f78775d7c1e328cbb8e (patch) | |
tree | 901a9d10a6d47ad86d02687caa3deb94e42c5eea /include/configs/snapper9g45.h | |
parent | f4b0df1823921ad3bc39820466e9c5201cef6210 (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/snapper9g45.h')
-rw-r--r-- | include/configs/snapper9g45.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/snapper9g45.h b/include/configs/snapper9g45.h index fd6c70e110..c91ab7186c 100644 --- a/include/configs/snapper9g45.h +++ b/include/configs/snapper9g45.h @@ -56,6 +56,7 @@ /* Ethernet */ #define CONFIG_MACB +#define CONFIG_PHYLIB #define CONFIG_RMII #define CONFIG_NET_RETRY_COUNT 20 #define CONFIG_RESET_PHY_R |